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.001703/0.001703, allocations: 119.6 kB / 20.44 MB, free: 1.297 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.001513/0.001513, allocations: 214.6 kB / 23.75 MB, free: 4.527 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2205/0.2205, allocations: 26.81 MB / 340.7 MB, free: 8.203 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.002175/0.002175, allocations: 67.89 kB / 477.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3245, allocations: 60.49 MB / 0.5252 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.1989/0.5235, allocations: 164.5 MB / 0.6858 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01453/0.538, allocations: 10.02 MB / 0.6956 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.5384, allocations: 11.88 kB / 0.6956 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004115/0.5388, allocations: 99.25 kB / 0.6957 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006971/0.5458, allocations: 2.124 MB / 0.6978 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007291/0.5531, allocations: 2.603 MB / 0.7003 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00252/0.5556, allocations: 2.027 MB / 0.7023 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007544/0.5564, allocations: 0.504 MB / 0.7028 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008207/0.5572, allocations: 0.6004 MB / 0.7034 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003204/0.5604, allocations: 1.492 MB / 0.7048 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.5606, allocations: 104 kB / 0.7049 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/0.5724, allocations: 5.967 MB / 0.7108 GB, free: 6.367 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007159/0.5731, allocations: 0.5611 MB / 0.7113 GB, free: 5.805 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008683/0.574, allocations: 0.6303 MB / 0.7119 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009228/0.5832, allocations: 4.395 MB / 0.7162 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.5832, allocations: 8 kB / 0.7162 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5832, allocations: 0 / 0.7162 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.5832, allocations: 0 / 0.7162 GB, free: 0.7578 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.004888/0.5881, allocations: 1.801 MB / 0.718 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.5882, allocations: 8.031 kB / 0.718 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.5905, allocations: 284.1 kB / 0.7183 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.5916, allocations: 0.5519 MB / 0.7188 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.5917, allocations: 74.38 kB / 0.7189 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.5919, allocations: 91.56 kB / 0.719 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/0.5953, allocations: 1.659 MB / 0.7206 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.5953, allocations: 3.938 kB / 0.7206 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.5954, allocations: 40 kB / 0.7206 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.5954, allocations: 24 kB / 0.7207 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/0.599, allocations: 1.69 MB / 0.7223 GB, free: 10.42 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.008127/0.6071, allocations: 5.504 MB / 0.7277 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004072/0.6112, allocations: 1.911 MB / 0.7295 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.6126, allocations: 0.872 MB / 0.7304 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2705/0.8831, allocations: 11.7 MB / 0.7418 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.8831, allocations: 52.09 kB / 0.7419 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 3.647e-06/0.8831, allocations: 4 kB / 0.7419 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.05873/0.9419, allocations: 14.54 MB / 0.7561 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.9419, allocations: 73.72 kB / 0.7561 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.9423, allocations: 451.9 kB / 0.7566 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.117e-05/0.9424, allocations: 49.7 kB / 0.7566 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.9425, allocations: 272 kB / 0.7569 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.9429, allocations: 0.6421 MB / 0.7575 GB, free: 183 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.9432, allocations: 287.5 kB / 0.7578 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.9432, allocations: 346.9 kB / 0.7581 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009069/0.9441, allocations: 0.7378 MB / 0.7588 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.9452, allocations: 0.9548 MB / 0.7598 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.9473, allocations: 1.874 MB / 0.7616 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9473, allocations: 0 / 0.7616 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003645/0.9509, allocations: 2.7 MB / 0.7642 GB, free: 176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.9509, allocations: 8 kB / 0.7642 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.9509, allocations: 11.59 kB / 0.7643 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009326/0.9603, allocations: 2.237 MB / 0.7664 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/0.9609, allocations: 167.8 kB / 0.7666 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004453/0.9654, allocations: 3.534 MB / 0.7701 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008945/0.9663, allocations: 139.3 kB / 0.7702 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.9664, allocations: 71.97 kB / 0.7703 GB, free: 169.8 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.0004058/0.9668, allocations: 333.2 kB / 0.7706 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.967, allocations: 111.3 kB / 0.7707 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00898/0.976, allocations: 9.291 MB / 0.7798 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.319e-05/0.9761, allocations: 107.8 kB / 0.7799 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.9761, allocations: 0 / 0.7799 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.9761, allocations: 15.95 kB / 0.7799 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008945/0.985, allocations: 10.74 MB / 0.7904 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.985, allocations: 0 / 0.7904 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.9855, allocations: 111.9 kB / 0.7905 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/0.9957, allocations: 4.939 MB / 0.7953 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/0.9959, allocations: 59.91 kB / 0.7953 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00761/1.003, allocations: 8.166 MB / 0.8033 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.003, allocations: 4 kB / 0.8033 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007039/1.011, allocations: 7.438 MB / 0.8106 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009374/1.011, allocations: 0.5475 MB / 0.8111 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/1.012, allocations: 59.83 kB / 0.8112 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000763/1.012, allocations: 71.88 kB / 0.8113 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/1.013, allocations: 137.7 kB / 0.8114 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.013, allocations: 75.97 kB / 0.8115 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003532/1.013, allocations: 414.8 kB / 0.8118 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.013, allocations: 0 / 0.8118 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002522/1.016, allocations: 1.205 MB / 0.813 GB, free: 125.7 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.002995/1.019, allocations: 1.029 MB / 0.814 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005196/1.024, allocations: 3.395 MB / 0.8173 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.024, allocations: 4.188 kB / 0.8174 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00356/1.027, allocations: 2.394 MB / 0.8197 GB, free: 119 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/1.03, allocations: 0.7416 MB / 0.8204 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/1.036, allocations: 5.375 MB / 0.8257 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/1.036, allocations: 1.599 MB / 0.8272 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006653/1.037, allocations: 391.9 kB / 0.8276 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/1.037, allocations: 67.42 kB / 0.8277 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/1.037, allocations: 0 / 0.8277 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.07985/1.117, allocations: 78.16 MB / 0.904 GB, free: 32.89 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: 21.75975452363491] Failed to read output from testmodel.py, exit status != 0: 1.125464839860797 1.133581444 0.547985265 Calling exit ...