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.001297/0.001297, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001456/0.001456, allocations: 210.7 kB / 24.49 MB, free: 4.18 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.1445/0.1445, allocations: 26.81 MB / 341.5 MB, free: 8.305 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: 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.002151/0.002151, allocations: 63.89 kB / 478.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3037, allocations: 60.49 MB / 0.526 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.1962/0.4999, allocations: 164.5 MB / 0.6866 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.5133, allocations: 10.02 MB / 0.6964 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.5136, allocations: 11.88 kB / 0.6964 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.514, allocations: 99.25 kB / 0.6965 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00636/0.5204, allocations: 2.124 MB / 0.6985 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006905/0.5273, allocations: 2.599 MB / 0.7011 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002404/0.5297, allocations: 2.016 MB / 0.703 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.5306, allocations: 0.5079 MB / 0.7035 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009907/0.5316, allocations: 0.6043 MB / 0.7041 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003378/0.5349, allocations: 1.484 MB / 0.7056 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.5352, allocations: 104 kB / 0.7057 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/0.5468, allocations: 5.975 MB / 0.7115 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006724/0.5475, allocations: 0.5573 MB / 0.7121 GB, free: 5.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008588/0.5483, allocations: 0.6381 MB / 0.7127 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008843/0.5572, allocations: 4.395 MB / 0.717 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5572, allocations: 0 / 0.717 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5572, allocations: 4 kB / 0.717 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.146e-05/0.5572, allocations: 0 / 0.717 GB, free: 0.8008 MB / 0.545 GB 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.005147/0.5624, allocations: 1.793 MB / 0.7187 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.5624, allocations: 12.03 kB / 0.7187 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/0.5648, allocations: 284 kB / 0.719 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.566, allocations: 0.5559 MB / 0.7196 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.5661, allocations: 70.38 kB / 0.7196 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.5663, allocations: 96.31 kB / 0.7197 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/0.5698, allocations: 1.659 MB / 0.7213 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.5698, allocations: 11.94 kB / 0.7213 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.5699, allocations: 40 kB / 0.7214 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.5699, allocations: 24 kB / 0.7214 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003627/0.5735, allocations: 1.678 MB / 0.723 GB, free: 10.46 MB / 0.5606 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.008216/0.5818, allocations: 5.504 MB / 0.7284 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/0.586, allocations: 1.918 MB / 0.7303 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.5875, allocations: 0.8616 MB / 0.7311 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2521/0.8397, allocations: 11.72 MB / 0.7426 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.8397, allocations: 51.31 kB / 0.7426 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 3.226e-06/0.8397, allocations: 0 / 0.7426 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.06116/0.9009, allocations: 14.54 MB / 0.7568 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.9009, allocations: 73.39 kB / 0.7569 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.9013, allocations: 448.7 kB / 0.7573 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.9015, allocations: 57.36 kB / 0.7574 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.9016, allocations: 268.6 kB / 0.7576 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/0.902, allocations: 0.6394 MB / 0.7583 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.9024, allocations: 291.5 kB / 0.7585 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.464e-05/0.9024, allocations: 337.9 kB / 0.7589 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.9035, allocations: 0.7456 MB / 0.7596 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.9048, allocations: 0.9548 MB / 0.7605 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.9072, allocations: 1.874 MB / 0.7624 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.9072, allocations: 6.344 kB / 0.7624 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003825/0.911, allocations: 2.696 MB / 0.765 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.911, allocations: 8 kB / 0.765 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.9111, allocations: 4 kB / 0.765 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009664/0.9207, allocations: 2.235 MB / 0.7672 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007136/0.9214, allocations: 163.8 kB / 0.7673 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004861/0.9263, allocations: 3.538 MB / 0.7708 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000937/0.9272, allocations: 149.3 kB / 0.7709 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.9274, allocations: 67.97 kB / 0.771 GB, free: 169.9 MB / 0.5606 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.0004233/0.9278, allocations: 332.2 kB / 0.7713 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.928, allocations: 111.3 kB / 0.7714 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009138/0.9372, allocations: 9.281 MB / 0.7805 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-05/0.9372, allocations: 115.8 kB / 0.7806 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.9372, allocations: 3.938 kB / 0.7806 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/0.9373, allocations: 15.89 kB / 0.7806 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00951/0.9468, allocations: 10.73 MB / 0.7911 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.9468, allocations: 0 / 0.7911 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.9473, allocations: 123.7 kB / 0.7912 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/0.9577, allocations: 4.946 MB / 0.796 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002877/0.958, allocations: 59.97 kB / 0.7961 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008422/0.9664, allocations: 8.166 MB / 0.8041 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.9664, allocations: 0 / 0.8041 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00994/0.9764, allocations: 7.446 MB / 0.8113 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009825/0.9773, allocations: 0.5397 MB / 0.8119 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.9776, allocations: 55.84 kB / 0.8119 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009183/0.9785, allocations: 79.94 kB / 0.812 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.9787, allocations: 145.6 kB / 0.8121 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.9789, allocations: 75.97 kB / 0.8122 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004127/0.9793, allocations: 406.8 kB / 0.8126 GB, free: 127 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9793, allocations: 0 / 0.8126 GB, free: 127 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002795/0.9821, allocations: 1.209 MB / 0.8138 GB, free: 125.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 37 ($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 (73): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * 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.003844/0.9859, allocations: 1.029 MB / 0.8148 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005382/0.9913, allocations: 3.399 MB / 0.8181 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9913, allocations: 0 / 0.8181 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003648/0.995, allocations: 2.402 MB / 0.8205 GB, free: 119 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/0.9982, allocations: 0.7413 MB / 0.8212 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005573/1.004, allocations: 5.443 MB / 0.8265 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/1.004, allocations: 1.587 MB / 0.828 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/1.005, allocations: 79.41 kB / 0.8281 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.005, allocations: 4 kB / 0.8281 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.04118/1.046, allocations: 42.55 MB / 0.8697 GB, free: 68.59 MB / 0.5606 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: 11.01571788196452] Failed to read output from testmodel.py, exit status != 0: 1.0543449399992824 1.062678476 0.5031947 Calling exit ...