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.001325/0.001325, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001599/0.001599, allocations: 211.5 kB / 24.48 MB, free: 3.938 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 / 258.2 MB, free: 7.793 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.1667/0.1667, allocations: 26.84 MB / 341.5 MB, free: 7.988 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.00208/0.00208, allocations: 67.89 kB / 478 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3168, allocations: 60.48 MB / 0.5259 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.1918/0.5085, allocations: 142.2 MB / 0.6648 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.5222, allocations: 8.853 MB / 0.6734 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.5226, allocations: 15.88 kB / 0.6735 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.5231, allocations: 103.2 kB / 0.6735 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007015/0.5301, allocations: 2.1 MB / 0.6756 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007464/0.5375, allocations: 2.572 MB / 0.6781 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002894/0.5404, allocations: 2.238 MB / 0.6803 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.5414, allocations: 0.6092 MB / 0.6809 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.5425, allocations: 0.7057 MB / 0.6816 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003575/0.5461, allocations: 1.562 MB / 0.6831 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002532/0.5464, allocations: 116 kB / 0.6832 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.5584, allocations: 5.729 MB / 0.6888 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000905/0.5593, allocations: 0.6236 MB / 0.6894 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009759/0.5603, allocations: 0.6113 MB / 0.69 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009377/0.5696, allocations: 4.528 MB / 0.6944 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5696, allocations: 0 / 0.6944 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5696, allocations: 0 / 0.6944 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.494e-05/0.5697, allocations: 3.938 kB / 0.6944 GB, free: 7.641 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.006101/0.5758, allocations: 1.945 MB / 0.6963 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5758, allocations: 12.03 kB / 0.6964 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.5783, allocations: 292 kB / 0.6966 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.5796, allocations: 0.5949 MB / 0.6972 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.5797, allocations: 78.38 kB / 0.6973 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/0.58, allocations: 144.2 kB / 0.6974 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/0.5837, allocations: 1.757 MB / 0.6991 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.5837, allocations: 4 kB / 0.6991 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.5838, allocations: 36 kB / 0.6992 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.5839, allocations: 28 kB / 0.6992 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.5877, allocations: 1.823 MB / 0.701 GB, free: 0.8438 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.007482/0.5952, allocations: 3.615 MB / 0.7045 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005609/0.6008, allocations: 2.359 MB / 0.7068 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.6025, allocations: 1.006 MB / 0.7078 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04308/0.6456, allocations: 11.75 MB / 0.7193 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.6457, allocations: 52.56 kB / 0.7193 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 4.338e-06/0.6457, allocations: 0 / 0.7193 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01458/0.6603, allocations: 4.953 MB / 0.7242 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.6603, allocations: 73.41 kB / 0.7242 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.6607, allocations: 329.7 kB / 0.7246 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.6609, allocations: 69.64 kB / 0.7246 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.6611, allocations: 223.4 kB / 0.7248 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007641/0.6619, allocations: 0.7706 MB / 0.7256 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005613/0.6624, allocations: 339.6 kB / 0.7259 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6626, allocations: 330 kB / 0.7262 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.6643, allocations: 0.9369 MB / 0.7271 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.6662, allocations: 1.2 MB / 0.7283 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/0.6698, allocations: 2.165 MB / 0.7304 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.6699, allocations: 3.938 kB / 0.7304 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.2235/0.8933, allocations: 3.166 MB / 0.7335 GB, free: 192 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.8933, allocations: 8.031 kB / 0.7335 GB, free: 192 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.8933, allocations: 0 / 0.7335 GB, free: 192 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01255/0.9059, allocations: 2.651 MB / 0.7361 GB, free: 191.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.9072, allocations: 232.1 kB / 0.7363 GB, free: 191.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007575/0.9147, allocations: 4.1 MB / 0.7403 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.9159, allocations: 149.5 kB / 0.7405 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002411/0.9161, allocations: 71.08 kB / 0.7405 GB, free: 190.1 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.0006595/0.9168, allocations: 330.6 kB / 0.7409 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.9171, allocations: 103.5 kB / 0.741 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.9298, allocations: 9.163 MB / 0.7499 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.713e-05/0.9298, allocations: 123 kB / 0.75 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.279e-05/0.9299, allocations: 10.55 kB / 0.75 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.137e-05/0.9299, allocations: 15.89 kB / 0.7501 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.9423, allocations: 10.29 MB / 0.7601 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.9423, allocations: 0 / 0.7601 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/0.9448, allocations: 0.5138 MB / 0.7606 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004207/0.949, allocations: 2.136 MB / 0.7627 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003267/0.9494, allocations: 83.94 kB / 0.7628 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.9597, allocations: 19.66 MB / 0.782 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9597, allocations: 0 / 0.782 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/0.9719, allocations: 9.926 MB / 0.7917 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.9731, allocations: 0.5892 MB / 0.7922 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/0.9735, allocations: 75.88 kB / 0.7923 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.9746, allocations: 75.94 kB / 0.7924 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/0.975, allocations: 185.9 kB / 0.7926 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/0.9752, allocations: 87.89 kB / 0.7926 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002737/0.9755, allocations: 299.1 kB / 0.7929 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9755, allocations: 3.938 kB / 0.7929 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002913/0.9784, allocations: 1.284 MB / 0.7942 GB, free: 143.6 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: 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.003829/0.9822, allocations: 1.081 MB / 0.7952 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007228/0.9894, allocations: 3.923 MB / 0.7991 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9894, allocations: 4 kB / 0.7991 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00472/0.9941, allocations: 3.515 MB / 0.8025 GB, free: 135 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/0.9974, allocations: 0.7495 MB / 0.8032 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00815/1.006, allocations: 7.419 MB / 0.8105 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008454/1.006, allocations: 1.078 MB / 0.8115 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/1.007, allocations: 107.4 kB / 0.8116 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.007, allocations: 0 / 0.8116 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.07728/1.084, allocations: 100.4 MB / 0.9097 GB, free: 25.17 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.07404153200332] Failed to read output from testmodel.py, exit status != 0: 1.093232800019905 1.102841822 0.5305741340000001 Calling exit ...