Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.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.001331/0.001331, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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: 214.1 kB / 24.5 MB, free: 4.145 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.953 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.1526/0.1526, allocations: 26.82 MB / 341.5 MB, free: 8.172 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.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [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.002304/0.002304, allocations: 67.91 kB / 478.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.32, allocations: 60.47 MB / 0.5259 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.1977/0.5177, allocations: 164.5 MB / 0.6866 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.5316, allocations: 10.02 MB / 0.6964 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.5319, allocations: 7.938 kB / 0.6964 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.5323, allocations: 99.25 kB / 0.6965 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006912/0.5393, allocations: 2.121 MB / 0.6985 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007369/0.5466, allocations: 2.607 MB / 0.7011 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.5493, allocations: 2.234 MB / 0.7033 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.5503, allocations: 0.617 MB / 0.7039 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.5515, allocations: 0.7018 MB / 0.7046 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003462/0.5549, allocations: 1.574 MB / 0.7061 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003498/0.5553, allocations: 120 kB / 0.7062 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01218/0.5674, allocations: 5.986 MB / 0.7121 GB, free: 5.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008722/0.5683, allocations: 0.6236 MB / 0.7127 GB, free: 5.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.5696, allocations: 0.6888 MB / 0.7133 GB, free: 4.508 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009935/0.5796, allocations: 4.524 MB / 0.7178 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5796, allocations: 0 / 0.7178 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5796, allocations: 3.938 kB / 0.7178 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.66e-05/0.5796, allocations: 4 kB / 0.7178 GB, free: 15.96 MB / 0.5606 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.006729/0.5864, allocations: 1.945 MB / 0.7197 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5864, allocations: 8.031 kB / 0.7197 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/0.5891, allocations: 296 kB / 0.7199 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.5906, allocations: 0.591 MB / 0.7205 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.5906, allocations: 86.38 kB / 0.7206 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.591, allocations: 136.2 kB / 0.7207 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004103/0.5951, allocations: 1.753 MB / 0.7225 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.5951, allocations: 0 / 0.7225 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.5953, allocations: 36 kB / 0.7225 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.5953, allocations: 28 kB / 0.7225 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004156/0.5995, allocations: 1.846 MB / 0.7243 GB, free: 9.152 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.008319/0.6078, allocations: 4.615 MB / 0.7288 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005638/0.6134, allocations: 2.357 MB / 0.7311 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.6152, allocations: 0.9983 MB / 0.7321 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2562/0.8714, allocations: 11.72 MB / 0.7435 GB, free: 192.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.8715, allocations: 56.69 kB / 0.7436 GB, free: 192.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 3.506e-06/0.8715, allocations: 0 / 0.7436 GB, free: 192.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01303/0.8845, allocations: 4.953 MB / 0.7484 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.8845, allocations: 78.47 kB / 0.7485 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.8849, allocations: 388.8 kB / 0.7489 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.885, allocations: 62.97 kB / 0.7489 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.8851, allocations: 208.4 kB / 0.7491 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000416/0.8856, allocations: 0.7638 MB / 0.7499 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004438/0.886, allocations: 349.1 kB / 0.7502 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.777e-05/0.8861, allocations: 341.8 kB / 0.7505 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.8873, allocations: 0.9376 MB / 0.7515 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.8886, allocations: 1.096 MB / 0.7525 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.8912, allocations: 2.162 MB / 0.7546 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.8912, allocations: 0 / 0.7546 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004187/0.8954, allocations: 3.181 MB / 0.7577 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8954, allocations: 4 kB / 0.7578 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.8954, allocations: 0 / 0.7578 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/0.9067, allocations: 2.667 MB / 0.7604 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.9079, allocations: 235.7 kB / 0.7606 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005289/0.9132, allocations: 4.1 MB / 0.7646 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.9143, allocations: 150.9 kB / 0.7647 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.9145, allocations: 71.97 kB / 0.7648 GB, free: 176.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (84): * Single equations (assignments): 83 * 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,117)} Notification: Performance of prepare postOptimizeDAE: time 0.0005241/0.915, allocations: 337.5 kB / 0.7651 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.9153, allocations: 111.3 kB / 0.7652 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.9258, allocations: 9.042 MB / 0.7741 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-05/0.9259, allocations: 123 kB / 0.7742 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/0.9259, allocations: 4.547 kB / 0.7742 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/0.9259, allocations: 19.88 kB / 0.7742 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/0.9376, allocations: 10.81 MB / 0.7848 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.9376, allocations: 4.031 kB / 0.7848 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/0.9402, allocations: 0.515 MB / 0.7853 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004326/0.9445, allocations: 2.184 MB / 0.7874 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003191/0.9448, allocations: 79.95 kB / 0.7875 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.9557, allocations: 19.88 MB / 0.8069 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9557, allocations: 4.031 kB / 0.8069 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/0.9679, allocations: 9.855 MB / 0.8165 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.9691, allocations: 0.5972 MB / 0.8171 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003911/0.9695, allocations: 83.86 kB / 0.8172 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.9707, allocations: 83.89 kB / 0.8173 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/0.9711, allocations: 181.8 kB / 0.8174 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/0.9713, allocations: 83.97 kB / 0.8175 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003784/0.9717, allocations: 374.8 kB / 0.8179 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9717, allocations: 0 / 0.8179 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002971/0.9747, allocations: 1.28 MB / 0.8191 GB, free: 119.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 27 (coolingTower.M[1],coolingTower.M[2],coolingTower.M[3],coolingTower.M[4],coolingTower.M[5],coolingTower.M[6],coolingTower.M[7],coolingTower.M[8],coolingTower.M[9],coolingTower.hltilde[1],coolingTower.hltilde[2],coolingTower.hltilde[3],coolingTower.hltilde[4],coolingTower.hltilde[5],coolingTower.hltilde[6],coolingTower.hltilde[7],coolingTower.hltilde[8],coolingTower.hltilde[9],coolingTower.Tp[1],coolingTower.Tp[2],coolingTower.Tp[3],coolingTower.Tp[4],coolingTower.Tp[5],coolingTower.Tp[6],coolingTower.Tp[7],coolingTower.Tp[8],coolingTower.Tp[9]) * 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 (210): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 39 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003892/0.9786, allocations: 1.071 MB / 0.8202 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007651/0.9862, allocations: 3.905 MB / 0.824 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9862, allocations: 0 / 0.824 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005035/0.9913, allocations: 3.486 MB / 0.8274 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/0.9945, allocations: 0.7962 MB / 0.8282 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007583/1.002, allocations: 7.379 MB / 0.8354 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/1.003, allocations: 1.647 MB / 0.837 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/1.003, allocations: 111.4 kB / 0.8371 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/1.003, allocations: 3.938 kB / 0.8371 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07449/1.078, allocations: 100 MB / 0.9348 GB, free: 416 kB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.071726010064594] Failed to read output from testmodel.py, exit status != 0: 1.087278474937193 1.101619881 0.518659381 Calling exit ...