Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009472/0.0009472, allocations: 80.53 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009763/0.0009763, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9509/0.9509, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02654/0.02654, allocations: 4.473 MB / 264.5 MB, free: 8.773 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 389.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.545e-05, allocations: 2.984 kB / 389.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.002198/0.002224, allocations: 0.9663 MB / 390.5 MB, free: 6.465 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.00359, allocations: 1.112 MB / 391.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.003644, allocations: 0 / 391.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.003929, allocations: 59.59 kB / 391.7 MB, free: 5.281 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.004095, allocations: 39.7 kB / 391.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005919/0.004687, allocations: 278.9 kB / 392 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.004804, allocations: 75.61 kB / 392.1 MB, free: 4.895 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.004913, allocations: 19.98 kB / 392.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.004975, allocations: 43.89 kB / 392.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.005106, allocations: 39.89 kB / 392.2 MB, free: 4.793 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.005125, allocations: 8 kB / 392.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.005288, allocations: 79.78 kB / 392.3 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.005311, allocations: 19.91 kB / 392.3 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.005345, allocations: 16 kB / 392.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.005599, allocations: 151.5 kB / 392.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.005602, allocations: 0 / 392.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.005604, allocations: 0 / 392.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.005609, allocations: 0 / 392.5 MB, free: 4.523 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006535/0.006262, allocations: 345.8 kB / 392.8 MB, free: 4.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.0063, allocations: 12.03 kB / 392.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.006336, allocations: 38.75 kB / 392.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.006372, allocations: 12.89 kB / 392.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.006517, allocations: 125.6 kB / 393 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.006531, allocations: 4.375 kB / 393 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.006544, allocations: 8.375 kB / 393 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.006725, allocations: 135.9 kB / 393.1 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.006732, allocations: 192 / 393.1 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.006745, allocations: 4.375 kB / 393.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.006752, allocations: 4.125 kB / 393.1 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.119e-05/0.006843, allocations: 55.91 kB / 393.2 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.007315, allocations: 319.7 kB / 393.5 MB, free: 3.355 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.007567, allocations: 74.5 kB / 393.6 MB, free: 3.273 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.007601, allocations: 12.98 kB / 393.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.668e-05/0.007688, allocations: 7.984 kB / 393.6 MB, free: 3.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.007711, allocations: 34.56 kB / 393.6 MB, free: 3.207 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.963e-06/0.007713, allocations: 0 / 393.6 MB, free: 3.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004183/0.008132, allocations: 114.4 kB / 393.8 MB, free: 3.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.008169, allocations: 59.39 kB / 393.8 MB, free: 3.016 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.00828, allocations: 117.8 kB / 393.9 MB, free: 2.891 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.008298, allocations: 29.7 kB / 394 MB, free: 2.855 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.00836, allocations: 104.1 kB / 394.1 MB, free: 2.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.008379, allocations: 19.8 kB / 394.1 MB, free: 2.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.008416, allocations: 17.72 kB / 394.1 MB, free: 2.707 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.008516, allocations: 318.8 kB / 394.4 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.008539, allocations: 8 kB / 394.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.00856, allocations: 8 kB / 394.4 MB, free: 2.371 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.816e-05/0.008618, allocations: 44.78 kB / 394.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008621, allocations: 0 / 394.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001721/0.008793, allocations: 78.91 kB / 394.5 MB, free: 2.238 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.008808, allocations: 4 kB / 394.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.008816, allocations: 7.875 kB / 394.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.008997, allocations: 24.91 kB / 394.6 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.261e-05/0.00903, allocations: 8 kB / 394.6 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007534/0.009783, allocations: 1.279 MB / 395.9 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.009808, allocations: 7.953 kB / 395.9 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.009814, allocations: 4.031 kB / 395.9 MB, free: 0.7852 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/0.009883, allocations: 117.8 kB / 396 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.009897, allocations: 0 / 396 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.01004, allocations: 106.7 kB / 396.1 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01004, allocations: 0 / 396.1 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01004, allocations: 0 / 396.1 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01005, allocations: 3.938 kB / 396.1 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.01016, allocations: 156.7 kB / 396.2 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01016, allocations: 384 / 396.3 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.01018, allocations: 11.98 kB / 396.3 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.168e-05/0.01026, allocations: 20.84 kB / 396.3 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.01027, allocations: 7.938 kB / 396.3 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006025/0.01087, allocations: 1.279 MB / 397.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01087, allocations: 0 / 397.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.01102, allocations: 188.3 kB / 397.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.01102, allocations: 3.953 kB / 397.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-06/0.01103, allocations: 4 kB / 397.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.01108, allocations: 12.14 kB / 397.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.0111, allocations: 7.984 kB / 397.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.0111, allocations: 4 kB / 397.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.568e-05/0.01115, allocations: 91.27 kB / 397.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01115, allocations: 0 / 397.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000186/0.01133, allocations: 24 kB / 397.9 MB, free: 14.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003622/0.0117, allocations: 0.7171 MB / 398.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.01191, allocations: 154.6 kB / 398.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01192, allocations: 0 / 398.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.727e-05/0.012, allocations: 138.7 kB / 398.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.01225, allocations: 11.98 kB / 398.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.01323, allocations: 1.417 MB / 400.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.585e-05/0.01328, allocations: 75.33 kB / 400.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.102e-05/0.01331, allocations: 15.81 kB / 400.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.01334, allocations: 24.86 kB / 400.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01334, allocations: 0 / 400.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.03204, allocations: 3.19 MB / 403.6 MB, free: 8.785 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.773/6.805, allocations: 2.969 kB / 403.6 MB, free: 8.785 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.737779808230698] Failed to read output from testmodel.py, exit status != 0: 6.890173281542957 7.051250572 7.043534466 Calling exit ...