Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.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.001597/0.001597, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001942/0.001942, allocations: 209.2 kB / 24.48 MB, free: 3.863 MB / 14.72 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 1.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1511/0.1511, allocations: 26.84 MB / 341.5 MB, free: 8.09 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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: translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 67.89 kB / 478 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3013, allocations: 60.48 MB / 0.5259 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.0794/0.3807, allocations: 71.64 MB / 0.5958 GB, free: 13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01567/0.3964, allocations: 10.1 MB / 0.6057 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008071/0.3972, allocations: 35.62 kB / 0.6057 GB, free: 2.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.3984, allocations: 393.1 kB / 0.6061 GB, free: 2.445 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.3998, allocations: 0.5471 MB / 0.6066 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01722/0.417, allocations: 5.968 MB / 0.6125 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.4193, allocations: 1.543 MB / 0.614 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006218/0.4199, allocations: 361.9 kB / 0.6143 GB, free: 10 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00077/0.4207, allocations: 0.5448 MB / 0.6149 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007114/0.4214, allocations: 0.5093 MB / 0.6154 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.797e-05/0.4215, allocations: 51.98 kB / 0.6154 GB, free: 8.891 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/0.4338, allocations: 6.072 MB / 0.6213 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.4341, allocations: 143.3 kB / 0.6215 GB, free: 2.672 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005869/0.4346, allocations: 370.3 kB / 0.6218 GB, free: 2.309 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009319/0.444, allocations: 4.224 MB / 0.6259 GB, free: 14.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.444, allocations: 4 kB / 0.626 GB, free: 14.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.444, allocations: 0 / 0.626 GB, free: 14.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.444, allocations: 0 / 0.626 GB, free: 14.07 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004294/0.4483, allocations: 1.627 MB / 0.6275 GB, free: 12.4 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4483, allocations: 12.03 kB / 0.6276 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.4487, allocations: 136.3 kB / 0.6277 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.4498, allocations: 0.494 MB / 0.6282 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.45, allocations: 279.5 kB / 0.6284 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-05/0.4501, allocations: 60.12 kB / 0.6285 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.4517, allocations: 0.7386 MB / 0.6292 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.4517, allocations: 0 / 0.6292 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.4517, allocations: 28 kB / 0.6292 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.4518, allocations: 15.94 kB / 0.6293 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.4533, allocations: 0.6243 MB / 0.6299 GB, free: 9.906 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/0.4563, allocations: 2.145 MB / 0.632 GB, free: 7.688 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009143/0.4573, allocations: 294.3 kB / 0.6322 GB, free: 7.363 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.4575, allocations: 99.39 kB / 0.6323 GB, free: 7.254 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.4575, allocations: 4 kB / 0.6323 GB, free: 7.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.4576, allocations: 46.48 kB / 0.6324 GB, free: 7.195 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.4576, allocations: 4 kB / 0.6324 GB, free: 7.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002155/0.4597, allocations: 0.6076 MB / 0.633 GB, free: 6.578 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.4598, allocations: 144.4 kB / 0.6331 GB, free: 6.406 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.4605, allocations: 0.5031 MB / 0.6336 GB, free: 5.891 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.4605, allocations: 29.7 kB / 0.6336 GB, free: 5.855 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.4608, allocations: 380.8 kB / 0.634 GB, free: 5.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.569e-05/0.4609, allocations: 95.17 kB / 0.6341 GB, free: 5.387 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.461, allocations: 73.61 kB / 0.6342 GB, free: 5.309 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.4612, allocations: 366.7 kB / 0.6345 GB, free: 4.941 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.4615, allocations: 100.8 kB / 0.6346 GB, free: 4.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.4618, allocations: 140.1 kB / 0.6347 GB, free: 4.691 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.4623, allocations: 215.2 kB / 0.6349 GB, free: 4.469 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4623, allocations: 4 kB / 0.6349 GB, free: 4.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007786/0.4631, allocations: 337.1 kB / 0.6353 GB, free: 4.129 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4631, allocations: 4 kB / 0.6353 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4631, allocations: 4 kB / 0.6353 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.4631, allocations: 3.984 kB / 0.6353 GB, free: 4.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.4636, allocations: 79.88 kB / 0.6354 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.4637, allocations: 4 kB / 0.6354 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.464, allocations: 23.84 kB / 0.6354 GB, free: 4.012 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.464, allocations: 15.98 kB / 0.6354 GB, free: 3.996 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003963/0.4644, allocations: 224 kB / 0.6356 GB, free: 3.773 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002991/0.4647, allocations: 161.2 kB / 0.6358 GB, free: 3.582 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005041/0.4652, allocations: 229.3 kB / 0.636 GB, free: 3.324 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.057e-06/0.4652, allocations: 4 kB / 0.636 GB, free: 3.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.000713/0.4659, allocations: 336.9 kB / 0.6363 GB, free: 2.984 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.4659, allocations: 4 kB / 0.6363 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4659, allocations: 4 kB / 0.6363 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.466, allocations: 4 kB / 0.6363 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.4663, allocations: 83.86 kB / 0.6364 GB, free: 2.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4663, allocations: 4 kB / 0.6364 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.4666, allocations: 23.88 kB / 0.6364 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.4666, allocations: 16.16 kB / 0.6364 GB, free: 2.848 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.4668, allocations: 208.1 kB / 0.6366 GB, free: 2.637 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.467, allocations: 59.62 kB / 0.6367 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007682/0.4677, allocations: 326.3 kB / 0.637 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4677, allocations: 4 kB / 0.637 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4677, allocations: 0 / 0.637 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4677, allocations: 7.984 kB / 0.637 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.4698, allocations: 1.196 MB / 0.6382 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.4698, allocations: 4 kB / 0.6382 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.47, allocations: 63.89 kB / 0.6383 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.47, allocations: 4 kB / 0.6383 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.47, allocations: 19.98 kB / 0.6383 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/0.47, allocations: 7.938 kB / 0.6383 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.47, allocations: 4.5 kB / 0.6383 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008078/0.4709, allocations: 0.7015 MB / 0.639 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.471, allocations: 67.5 kB / 0.639 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.4711, allocations: 15.94 kB / 0.6391 GB, free: 0 / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.4714, allocations: 15.98 kB / 0.6391 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.4715, allocations: 39.83 kB / 0.6391 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.4715, allocations: 16 kB / 0.6391 GB, free: 15.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004364/0.472, allocations: 387.1 kB / 0.6395 GB, free: 15.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.472, allocations: 0 / 0.6395 GB, free: 15.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002916/0.4749, allocations: 1.13 MB / 0.6406 GB, free: 14.41 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003491/0.4784, allocations: 1.002 MB / 0.6416 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000979/0.4794, allocations: 359.4 kB / 0.6419 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4794, allocations: 0 / 0.6419 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.4796, allocations: 112.9 kB / 0.642 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.482, allocations: 381 kB / 0.6424 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.4838, allocations: 1.167 MB / 0.6435 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.4842, allocations: 314.2 kB / 0.6438 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.4844, allocations: 63.41 kB / 0.6439 GB, free: 10.92 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4844, allocations: 4 kB / 0.6439 GB, free: 10.91 MB / 494.1 MB Notification: Performance of Templates: time 0.03765/0.5221, allocations: 23.82 MB / 0.6672 GB, free: 3.125 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.77065019600559] Failed to read output from testmodel.py, exit status != 0: 0.5309255629545078 0.545310527 0.098069153 Calling exit ...