Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.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.0007189/0.0007189, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003288/0.003288, allocations: 158.6 kB / 24.7 MB, free: 8.891 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.8624/0.8624, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.0889/0.0889, allocations: 19.73 MB / 281.2 MB, free: 9.453 MB / 266.7 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.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 0 / 417.8 MB, free: 7.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.392e-05/3.688e-05, allocations: 7.062 kB / 417.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.1265/0.1265, allocations: 142.1 MB / 0.5468 GB, free: 3.883 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007076/0.1336, allocations: 8.848 MB / 0.5554 GB, free: 11 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.1337, allocations: 7.938 kB / 0.5555 GB, free: 10.99 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1341, allocations: 99.25 kB / 0.5556 GB, free: 10.89 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00494/0.139, allocations: 2.128 MB / 0.5576 GB, free: 8.762 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.1423, allocations: 2.6 MB / 0.5602 GB, free: 6.164 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.1435, allocations: 2.043 MB / 0.5622 GB, free: 4.117 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.1439, allocations: 0.5194 MB / 0.5627 GB, free: 3.602 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000554/0.1444, allocations: 0.8112 MB / 0.5635 GB, free: 2.789 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.1458, allocations: 1.453 MB / 0.5649 GB, free: 1.324 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.755e-05/0.1459, allocations: 100 kB / 0.565 GB, free: 1.227 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005141/0.151, allocations: 5.724 MB / 0.5706 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.1513, allocations: 0.5925 MB / 0.5711 GB, free: 10.9 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.1516, allocations: 0.4952 MB / 0.5716 GB, free: 10.41 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004089/0.1557, allocations: 5.398 MB / 0.5769 GB, free: 4.996 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1557, allocations: 4 kB / 0.5769 GB, free: 4.992 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1557, allocations: 4 kB / 0.5769 GB, free: 4.988 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.1557, allocations: 0 / 0.5769 GB, free: 4.988 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.002495/0.1582, allocations: 1.793 MB / 0.5787 GB, free: 3.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1583, allocations: 8.031 kB / 0.5787 GB, free: 3.152 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.1595, allocations: 284.1 kB / 0.5789 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.1601, allocations: 0.5474 MB / 0.5795 GB, free: 2.297 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.1601, allocations: 70.38 kB / 0.5795 GB, free: 2.227 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1602, allocations: 92.38 kB / 0.5796 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.162, allocations: 1.66 MB / 0.5812 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1621, allocations: 192 / 0.5812 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.1621, allocations: 47.94 kB / 0.5813 GB, free: 388 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.1621, allocations: 24 kB / 0.5813 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.1641, allocations: 1.67 MB / 0.5829 GB, free: 14.68 MB / 0.4948 GB 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.003713/0.1678, allocations: 4.164 MB / 0.587 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.17, allocations: 1.908 MB / 0.5889 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008594/0.1709, allocations: 0.8616 MB / 0.5897 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2662/0.4371, allocations: 11.73 MB / 0.6012 GB, free: 53.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.4371, allocations: 51.72 kB / 0.6012 GB, free: 53.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 3.026e-06/0.4371, allocations: 0.9375 kB / 0.6012 GB, free: 53.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=180): time 0.03757/0.4747, allocations: 14.55 MB / 0.6154 GB, free: 52.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4747, allocations: 75.38 kB / 0.6155 GB, free: 52.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.475, allocations: 401.4 kB / 0.6159 GB, free: 52.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.4751, allocations: 52.42 kB / 0.6159 GB, free: 52.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.4752, allocations: 277.9 kB / 0.6162 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.4755, allocations: 0.6327 MB / 0.6168 GB, free: 51.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.4758, allocations: 296.5 kB / 0.6171 GB, free: 51.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.4759, allocations: 330.8 kB / 0.6174 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008012/0.4767, allocations: 0.7379 MB / 0.6181 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000964/0.4776, allocations: 0.9576 MB / 0.6191 GB, free: 51.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.4795, allocations: 1.881 MB / 0.6209 GB, free: 51.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.4795, allocations: 0 / 0.6209 GB, free: 51.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002842/0.4824, allocations: 2.688 MB / 0.6235 GB, free: 51.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.4824, allocations: 11 kB / 0.6235 GB, free: 51.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4824, allocations: 3.312 kB / 0.6236 GB, free: 51.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00482/0.4872, allocations: 2.228 MB / 0.6257 GB, free: 51.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.4876, allocations: 164.8 kB / 0.6259 GB, free: 51.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.4909, allocations: 3.542 MB / 0.6293 GB, free: 50.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.4914, allocations: 135.3 kB / 0.6295 GB, free: 50.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.4915, allocations: 69.45 kB / 0.6295 GB, free: 50.35 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (65): * Single equations (assignments): 64 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(36,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0003262/0.4918, allocations: 328.2 kB / 0.6299 GB, free: 50.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.4919, allocations: 100.4 kB / 0.6299 GB, free: 50.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006951/0.4989, allocations: 9.276 MB / 0.639 GB, free: 49.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-05/0.4989, allocations: 115.8 kB / 0.6391 GB, free: 49.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4989, allocations: 11.19 kB / 0.6391 GB, free: 49.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.499, allocations: 11.06 kB / 0.6391 GB, free: 49.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008183/0.5071, allocations: 10.52 MB / 0.6494 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.5072, allocations: 0 / 0.6494 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.5074, allocations: 116.3 kB / 0.6495 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005898/0.5133, allocations: 4.934 MB / 0.6543 GB, free: 45.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.835e-05/0.5134, allocations: 55.92 kB / 0.6544 GB, free: 45.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005761/0.5192, allocations: 8.198 MB / 0.6624 GB, free: 37.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5192, allocations: 0 / 0.6624 GB, free: 37.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005411/0.5246, allocations: 7.549 MB / 0.6698 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/0.5251, allocations: 0.5513 MB / 0.6703 GB, free: 29.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/0.5252, allocations: 54.86 kB / 0.6704 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.5256, allocations: 63.95 kB / 0.6704 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.5257, allocations: 145.6 kB / 0.6706 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.658e-05/0.5258, allocations: 75.97 kB / 0.6706 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002309/0.526, allocations: 331.1 kB / 0.671 GB, free: 28.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.526, allocations: 0 / 0.671 GB, free: 28.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002571/0.5286, allocations: 1.225 MB / 0.6721 GB, free: 27.31 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 38 ($cse6.region3boundary,$cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(36,147)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/0.5309, allocations: 1.14 MB / 0.6733 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003855/0.5348, allocations: 3.428 MB / 0.6766 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5348, allocations: 1.203 kB / 0.6766 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.5371, allocations: 2.446 MB / 0.679 GB, free: 20.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.5387, allocations: 0.6904 MB / 0.6797 GB, free: 19.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.5428, allocations: 5.461 MB / 0.685 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.5433, allocations: 1.013 MB / 0.686 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.5434, allocations: 72.48 kB / 0.6861 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.343e-06/0.5434, allocations: 0 / 0.6861 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.03669/0.5801, allocations: 43.01 MB / 0.7281 GB, free: 2.164 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.861520039848983] Failed to read output from testmodel.py, exit status != 0: 0.5872521884739399 0.596091185 0.43846658499999996 Calling exit ...