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.001476/0.001476, allocations: 79.44 kB / 21.28 MB, free: 0.5195 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.00155/0.00155, allocations: 159.7 kB / 24.53 MB, free: 3.812 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.551/1.551, allocations: 177.2 MB / 204.9 MB, free: 9.262 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.1868/0.1868, allocations: 19.71 MB / 281 MB, free: 13.04 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.00215/0.00215, allocations: 67.91 kB / 417.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4315, allocations: 60.44 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.2101/0.6416, allocations: 142.1 MB / 0.6057 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01622/0.6578, allocations: 8.849 MB / 0.6143 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004621/0.6583, allocations: 11.94 kB / 0.6143 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.6588, allocations: 103.2 kB / 0.6144 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008478/0.6673, allocations: 2.1 MB / 0.6165 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009819/0.6771, allocations: 2.575 MB / 0.619 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003264/0.6804, allocations: 2.234 MB / 0.6212 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.6815, allocations: 0.6131 MB / 0.6218 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.6829, allocations: 0.9477 MB / 0.6227 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004381/0.6872, allocations: 1.562 MB / 0.6242 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.6875, allocations: 120 kB / 0.6243 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01448/0.702, allocations: 5.725 MB / 0.6299 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.7032, allocations: 0.6274 MB / 0.6305 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.7044, allocations: 0.6113 MB / 0.6311 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.7188, allocations: 4.536 MB / 0.6356 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.7188, allocations: 0 / 0.6356 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.026e-06/0.7188, allocations: 0 / 0.6356 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.932e-05/0.7189, allocations: 0 / 0.6356 GB, free: 4.938 MB / 0.5294 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.007851/0.7267, allocations: 1.945 MB / 0.6375 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/0.7268, allocations: 12.02 kB / 0.6375 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/0.7297, allocations: 288 kB / 0.6377 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.731, allocations: 0.5911 MB / 0.6383 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-05/0.7311, allocations: 82.38 kB / 0.6384 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/0.7314, allocations: 132.2 kB / 0.6385 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/0.7355, allocations: 1.761 MB / 0.6402 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.7355, allocations: 0 / 0.6402 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.7356, allocations: 44 kB / 0.6403 GB, free: 0 / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.4e-05/0.7357, allocations: 22.02 kB / 0.6403 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005515/0.7412, allocations: 1.826 MB / 0.6421 GB, free: 168.6 MB / 0.5294 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.006586/0.7478, allocations: 3.603 MB / 0.6456 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005274/0.7531, allocations: 2.365 MB / 0.6479 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.7545, allocations: 1.002 MB / 0.6489 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03543/0.7899, allocations: 11.75 MB / 0.6604 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.7899, allocations: 53.69 kB / 0.6604 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=207): time 5.27e-06/0.79, allocations: 4 kB / 0.6604 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=207): time 0.01261/0.8026, allocations: 4.948 MB / 0.6653 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.8026, allocations: 73.41 kB / 0.6653 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.8029, allocations: 335.7 kB / 0.6656 GB, free: 149 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.803, allocations: 65.7 kB / 0.6657 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.8032, allocations: 221.3 kB / 0.6659 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.8037, allocations: 0.768 MB / 0.6667 GB, free: 148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004535/0.8041, allocations: 347.5 kB / 0.667 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.8042, allocations: 330 kB / 0.6673 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.8054, allocations: 0.9369 MB / 0.6682 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.8068, allocations: 1.203 MB / 0.6694 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.8095, allocations: 2.161 MB / 0.6715 GB, free: 143 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.8095, allocations: 0 / 0.6715 GB, free: 143 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004609/0.8141, allocations: 3.18 MB / 0.6746 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.8142, allocations: 4 kB / 0.6746 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.8142, allocations: 0 / 0.6746 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/0.8262, allocations: 2.651 MB / 0.6772 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.8275, allocations: 247.7 kB / 0.6775 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/0.8332, allocations: 4.095 MB / 0.6814 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.8343, allocations: 148.7 kB / 0.6816 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.8344, allocations: 71.95 kB / 0.6817 GB, free: 132.6 MB / 0.5294 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.0005345/0.835, allocations: 333.6 kB / 0.682 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.8352, allocations: 104.3 kB / 0.6821 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.8462, allocations: 9.181 MB / 0.691 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.443e-05/0.8463, allocations: 111.8 kB / 0.6911 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.8463, allocations: 4 kB / 0.6912 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/0.8463, allocations: 15.89 kB / 0.6912 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.858, allocations: 10.3 MB / 0.7012 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.858, allocations: 0 / 0.7012 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/0.8607, allocations: 0.5112 MB / 0.7017 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004452/0.8652, allocations: 2.134 MB / 0.7038 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003657/0.8656, allocations: 91.94 kB / 0.7039 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.8769, allocations: 19.66 MB / 0.7231 GB, free: 88.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8769, allocations: 3.375 kB / 0.7231 GB, free: 88.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.8885, allocations: 9.914 MB / 0.7328 GB, free: 78.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.8896, allocations: 0.5981 MB / 0.7334 GB, free: 78.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.8898, allocations: 71.92 kB / 0.7334 GB, free: 78.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.8909, allocations: 75.94 kB / 0.7335 GB, free: 77.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004059/0.8913, allocations: 189.9 kB / 0.7337 GB, free: 77.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.8914, allocations: 79.97 kB / 0.7338 GB, free: 77.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002943/0.8917, allocations: 303.1 kB / 0.7341 GB, free: 77.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8917, allocations: 0 / 0.7341 GB, free: 77.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003363/0.8951, allocations: 1.28 MB / 0.7353 GB, free: 76.12 MB / 0.5294 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: 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 (212): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 41 * 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.003581/0.8987, allocations: 1.076 MB / 0.7364 GB, free: 75.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007419/0.9061, allocations: 3.944 MB / 0.7402 GB, free: 71.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.9061, allocations: 4 kB / 0.7402 GB, free: 71.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006378/0.9125, allocations: 3.519 MB / 0.7436 GB, free: 67.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004889/0.9174, allocations: 0.7441 MB / 0.7444 GB, free: 66.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.9303, allocations: 7.312 MB / 0.7515 GB, free: 59.42 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.9316, allocations: 1.074 MB / 0.7526 GB, free: 58.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001959/0.9336, allocations: 406.1 kB / 0.7529 GB, free: 57.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006415/0.9342, allocations: 108.5 kB / 0.7531 GB, free: 57.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/0.9342, allocations: 0 / 0.7531 GB, free: 57.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.1152/1.049, allocations: 74.55 MB / 0.8259 GB, free: 15.77 MB / 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 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.027663051965646] Failed to read output from testmodel.py, exit status != 0: 1.3554648830322549 1.372631202 0.650084594 Calling exit ...