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.001286/0.001286, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001442/0.001442, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.372/1.372, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.1489/0.1489, allocations: 26.82 MB / 340.7 MB, free: 8.195 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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) [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.001988/0.001988, allocations: 67.84 kB / 476.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3083, allocations: 60.48 MB / 0.5247 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2023/0.5106, allocations: 164.5 MB / 0.6853 GB, free: 60 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01365/0.5243, allocations: 10.03 MB / 0.6951 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004555/0.5247, allocations: 11.88 kB / 0.6951 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.5253, allocations: 107.2 kB / 0.6952 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007422/0.5327, allocations: 2.113 MB / 0.6973 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007535/0.5402, allocations: 2.6 MB / 0.6998 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002399/0.5426, allocations: 2.016 MB / 0.7018 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007011/0.5433, allocations: 0.5118 MB / 0.7023 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007592/0.5441, allocations: 0.6043 MB / 0.7029 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.5471, allocations: 1.484 MB / 0.7044 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.5473, allocations: 104 kB / 0.7044 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/0.5589, allocations: 5.967 MB / 0.7103 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007022/0.5596, allocations: 0.5689 MB / 0.7108 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008498/0.5604, allocations: 0.6342 MB / 0.7115 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.5707, allocations: 4.384 MB / 0.7157 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.5707, allocations: 4 kB / 0.7157 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.916e-06/0.5707, allocations: 7.938 kB / 0.7157 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.5707, allocations: 0 / 0.7157 GB, free: 0.8398 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.005508/0.5762, allocations: 1.805 MB / 0.7175 GB, free: 15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5763, allocations: 8.031 kB / 0.7175 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/0.5765, allocations: 160.2 kB / 0.7177 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002414/0.5789, allocations: 284.1 kB / 0.7179 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.5801, allocations: 0.5637 MB / 0.7185 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.5801, allocations: 66.38 kB / 0.7186 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.5803, allocations: 98.81 kB / 0.7186 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/0.5837, allocations: 1.655 MB / 0.7203 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.5837, allocations: 7.938 kB / 0.7203 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.5838, allocations: 36 kB / 0.7203 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.5838, allocations: 24 kB / 0.7203 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.5872, allocations: 1.682 MB / 0.722 GB, free: 10.34 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.007864/0.5951, allocations: 5.501 MB / 0.7273 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003867/0.5989, allocations: 1.915 MB / 0.7292 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.6003, allocations: 0.868 MB / 0.7301 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2527/0.853, allocations: 11.71 MB / 0.7415 GB, free: 192.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.8531, allocations: 51.28 kB / 0.7415 GB, free: 192.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 3.246e-06/0.8531, allocations: 0.6562 kB / 0.7415 GB, free: 192.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.05965/0.9127, allocations: 14.55 MB / 0.7557 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.9128, allocations: 69.41 kB / 0.7558 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.9131, allocations: 449.6 kB / 0.7562 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.09e-05/0.9132, allocations: 57.69 kB / 0.7563 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.9133, allocations: 270.2 kB / 0.7566 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.9137, allocations: 0.6416 MB / 0.7572 GB, free: 183 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/0.914, allocations: 295.5 kB / 0.7575 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.914, allocations: 342 kB / 0.7578 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009115/0.915, allocations: 0.7378 MB / 0.7585 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.916, allocations: 0.9509 MB / 0.7594 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.9181, allocations: 1.874 MB / 0.7613 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.9181, allocations: 3.375 kB / 0.7613 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003566/0.9216, allocations: 2.703 MB / 0.7639 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.9217, allocations: 11.94 kB / 0.7639 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.9217, allocations: 4 kB / 0.7639 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009207/0.9309, allocations: 2.238 MB / 0.7661 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.9315, allocations: 159.8 kB / 0.7663 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00441/0.936, allocations: 3.538 MB / 0.7697 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.9368, allocations: 143.4 kB / 0.7699 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.9369, allocations: 71.97 kB / 0.7699 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.0004026/0.9373, allocations: 334.1 kB / 0.7702 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.9375, allocations: 103.4 kB / 0.7703 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008445/0.9459, allocations: 9.296 MB / 0.7794 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.807e-05/0.946, allocations: 111.8 kB / 0.7795 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.946, allocations: 3.938 kB / 0.7795 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.946, allocations: 11.95 kB / 0.7795 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008789/0.9548, allocations: 10.74 MB / 0.79 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.9548, allocations: 0 / 0.79 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.9553, allocations: 119.8 kB / 0.7901 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01331/0.9686, allocations: 4.942 MB / 0.795 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003071/0.9689, allocations: 55.97 kB / 0.795 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007939/0.9769, allocations: 8.17 MB / 0.803 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.9769, allocations: 0 / 0.803 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006877/0.9837, allocations: 7.434 MB / 0.8103 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008946/0.9846, allocations: 0.5475 MB / 0.8108 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.9848, allocations: 59.78 kB / 0.8109 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/0.9856, allocations: 79.94 kB / 0.8109 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.9858, allocations: 141.7 kB / 0.8111 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.9859, allocations: 67.98 kB / 0.8111 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003634/0.9862, allocations: 418.8 kB / 0.8115 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9862, allocations: 0 / 0.8115 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002618/0.9888, allocations: 1.201 MB / 0.8127 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.009387/0.9982, allocations: 7.354 MB / 0.8199 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005093/1.003, allocations: 3.401 MB / 0.8232 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.003, allocations: 8.125 kB / 0.8232 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003402/1.007, allocations: 2.384 MB / 0.8255 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.01, allocations: 0.7515 MB / 0.8263 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.028, allocations: 15.42 MB / 0.8413 GB, free: 96.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/1.029, allocations: 1.595 MB / 0.8429 GB, free: 94.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000701/1.03, allocations: 385.4 kB / 0.8433 GB, free: 94.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005112/1.03, allocations: 0.7101 MB / 0.844 GB, free: 93.38 MB / 0.5606 GB Notification: Performance of SimCode: time 9.41e-07/1.03, allocations: 0 / 0.844 GB, free: 93.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/1.16, allocations: 97.07 MB / 0.9388 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.18/20.34, allocations: 13.66 kB / 0.9388 GB, free: 12.56 MB / 0.5762 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic_fmu --startTime=-50 --stopTime=200 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.187778146006167] Failed to read output from testmodel.py, exit status != 0: 20.502384635969065 20.719610805 19.950365025 Calling exit ...