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.00142/0.00142, allocations: 82.27 kB / 20.68 MB, free: 1.039 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.001645/0.001645, allocations: 167 kB / 23.95 MB, free: 4.172 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.44/1.44, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.147/0.147, allocations: 19.74 MB / 280.4 MB, free: 12.91 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.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 1.563e-06/1.563e-06, allocations: 0 / 417.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.489e-05, allocations: 2.281 kB / 417.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3341/0.3341, allocations: 142.1 MB / 0.5461 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3466, allocations: 8.849 MB / 0.5547 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.3468, allocations: 7.875 kB / 0.5547 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.3473, allocations: 103.2 kB / 0.5548 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.3528, allocations: 2.124 MB / 0.5569 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006905/0.3597, allocations: 2.598 MB / 0.5594 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.362, allocations: 2.048 MB / 0.5614 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009952/0.363, allocations: 0.5117 MB / 0.5619 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.3645, allocations: 0.8112 MB / 0.5627 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/0.3679, allocations: 1.453 MB / 0.5641 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.3681, allocations: 104 kB / 0.5642 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/0.3792, allocations: 5.724 MB / 0.5698 GB, free: 6.883 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007112/0.3799, allocations: 0.5925 MB / 0.5704 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008143/0.3807, allocations: 0.4951 MB / 0.5709 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009104/0.3898, allocations: 5.414 MB / 0.5762 GB, free: 376 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3898, allocations: 0 / 0.5762 GB, free: 376 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3898, allocations: 0 / 0.5762 GB, free: 376 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3898, allocations: 4 kB / 0.5762 GB, free: 372 kB / 462.1 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.004861/0.3947, allocations: 1.785 MB / 0.5779 GB, free: 14.54 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3947, allocations: 12.03 kB / 0.5779 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.3974, allocations: 284.1 kB / 0.5782 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009999/0.3984, allocations: 0.5435 MB / 0.5787 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.3984, allocations: 76 kB / 0.5788 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.3986, allocations: 92.38 kB / 0.5789 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/0.4022, allocations: 1.66 MB / 0.5805 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.4022, allocations: 384 / 0.5805 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.4023, allocations: 43.94 kB / 0.5805 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.4024, allocations: 24 kB / 0.5806 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003752/0.4061, allocations: 1.662 MB / 0.5822 GB, free: 10.07 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.006897/0.413, allocations: 4.179 MB / 0.5863 GB, free: 5.805 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/0.4171, allocations: 1.908 MB / 0.5881 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.4186, allocations: 0.8616 MB / 0.589 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04509/0.4637, allocations: 11.74 MB / 0.6004 GB, free: 7.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/0.4637, allocations: 52.56 kB / 0.6005 GB, free: 7.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 3.777e-06/0.4638, allocations: 0 / 0.6005 GB, free: 7.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=180): time 0.07618/0.5399, allocations: 14.55 MB / 0.6147 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.54, allocations: 73.41 kB / 0.6148 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.5405, allocations: 393.5 kB / 0.6151 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.5406, allocations: 53.7 kB / 0.6152 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.5409, allocations: 278.3 kB / 0.6155 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/0.5415, allocations: 0.6312 MB / 0.6161 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004892/0.542, allocations: 295.5 kB / 0.6164 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5421, allocations: 333.9 kB / 0.6167 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.5434, allocations: 0.7378 MB / 0.6174 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.545, allocations: 0.9665 MB / 0.6183 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.5481, allocations: 1.874 MB / 0.6202 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.5481, allocations: 2.25 kB / 0.6202 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005167/0.5533, allocations: 2.692 MB / 0.6228 GB, free: 176 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5533, allocations: 11.94 kB / 0.6228 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.5533, allocations: 4 kB / 0.6228 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/0.5649, allocations: 2.232 MB / 0.625 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.5657, allocations: 171.7 kB / 0.6252 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006609/0.5723, allocations: 3.538 MB / 0.6286 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.5733, allocations: 135 kB / 0.6287 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.5735, allocations: 71.97 kB / 0.6288 GB, free: 9.992 MB / 0.5137 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.0005815/0.5741, allocations: 325.6 kB / 0.6291 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.5744, allocations: 99.44 kB / 0.6292 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.5876, allocations: 9.287 MB / 0.6383 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001203/0.5878, allocations: 111.8 kB / 0.6384 GB, free: 76 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.5878, allocations: 0 / 0.6384 GB, free: 76 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.75e-05/0.5878, allocations: 11.95 kB / 0.6384 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1835/0.7713, allocations: 10.52 MB / 0.6487 GB, free: 194.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.7713, allocations: 1.094 kB / 0.6487 GB, free: 194.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.7719, allocations: 121.5 kB / 0.6488 GB, free: 194.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01312/0.785, allocations: 4.922 MB / 0.6536 GB, free: 193.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004131/0.7854, allocations: 57.66 kB / 0.6537 GB, free: 193 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008516/0.7939, allocations: 8.193 MB / 0.6617 GB, free: 189 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7939, allocations: 7.844 kB / 0.6617 GB, free: 189 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007287/0.8012, allocations: 7.556 MB / 0.669 GB, free: 181.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008039/0.802, allocations: 0.5532 MB / 0.6696 GB, free: 181 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.8022, allocations: 50.14 kB / 0.6696 GB, free: 181 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008182/0.803, allocations: 63.95 kB / 0.6697 GB, free: 180.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/0.8033, allocations: 149.7 kB / 0.6698 GB, free: 180.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.8034, allocations: 71.97 kB / 0.6699 GB, free: 180.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003184/0.8037, allocations: 337.5 kB / 0.6702 GB, free: 180.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.8037, allocations: 0 / 0.6702 GB, free: 180.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002796/0.8065, allocations: 1.214 MB / 0.6714 GB, free: 179.2 MB / 0.5137 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.003409/0.81, allocations: 1.145 MB / 0.6725 GB, free: 178.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005558/0.8155, allocations: 3.432 MB / 0.6759 GB, free: 174.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.8155, allocations: 0 / 0.6759 GB, free: 174.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003951/0.8195, allocations: 2.437 MB / 0.6783 GB, free: 172.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/0.8226, allocations: 0.6998 MB / 0.6789 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/0.8278, allocations: 5.386 MB / 0.6842 GB, free: 166.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.8284, allocations: 1.009 MB / 0.6852 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005996/0.829, allocations: 388.1 kB / 0.6856 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.8292, allocations: 68.48 kB / 0.6856 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.8292, allocations: 0 / 0.6856 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.07092/0.9001, allocations: 67.2 MB / 0.7512 GB, free: 98.03 MB / 0.5137 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: 12.23154853284359] Failed to read output from testmodel.py, exit status != 0: 0.9089624211192131 0.917764018 0.5255561049999999 Calling exit ...