Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 108 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 187.5 kB / 23.72 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 207.6 MB / 234.5 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3005/0.3005, allocations: 49.57 MB / 336.3 MB, free: 4.141 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 67.89 kB / 476.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 62.42 MB / 0.5266 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3997/0.5247, allocations: 161.6 MB / 0.6844 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.5386, allocations: 10 MB / 0.6941 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.539, allocations: 7.938 kB / 0.6941 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.5394, allocations: 115.2 kB / 0.6942 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005902/0.5453, allocations: 2.111 MB / 0.6963 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007323/0.5527, allocations: 2.6 MB / 0.6988 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002867/0.5555, allocations: 2.234 MB / 0.701 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.5566, allocations: 0.6131 MB / 0.7016 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.5577, allocations: 0.7018 MB / 0.7023 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.5614, allocations: 1.574 MB / 0.7038 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002939/0.5617, allocations: 120 kB / 0.704 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/0.5739, allocations: 5.971 MB / 0.7098 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008542/0.5747, allocations: 0.6313 MB / 0.7104 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.5758, allocations: 0.6927 MB / 0.7111 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009486/0.5853, allocations: 4.512 MB / 0.7155 GB, free: 3.996 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5853, allocations: 0 / 0.7155 GB, free: 3.996 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5853, allocations: 0 / 0.7155 GB, free: 3.996 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.636e-05/0.5853, allocations: 0 / 0.7155 GB, free: 3.996 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.006415/0.5917, allocations: 1.957 MB / 0.7174 GB, free: 2.004 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.5918, allocations: 8.031 kB / 0.7174 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.5944, allocations: 288.1 kB / 0.7177 GB, free: 1.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.5959, allocations: 0.5949 MB / 0.7183 GB, free: 1.094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.5959, allocations: 74.38 kB / 0.7183 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.5962, allocations: 136.5 kB / 0.7185 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003815/0.6001, allocations: 1.765 MB / 0.7202 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.6001, allocations: 0 / 0.7202 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.6002, allocations: 36 kB / 0.7202 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.6002, allocations: 24 kB / 0.7202 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004159/0.6044, allocations: 1.842 MB / 0.722 GB, free: 13.2 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.008186/0.6126, allocations: 4.63 MB / 0.7266 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005601/0.6182, allocations: 2.361 MB / 0.7289 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.6199, allocations: 0.9983 MB / 0.7298 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0399/0.6598, allocations: 11.27 MB / 0.7409 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.6599, allocations: 52.56 kB / 0.7409 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=207): time 4.218e-06/0.6599, allocations: 0 / 0.7409 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=207): time 0.0159/0.6758, allocations: 4.964 MB / 0.7457 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.6759, allocations: 73.41 kB / 0.7458 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.6764, allocations: 385.7 kB / 0.7462 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002381/0.6766, allocations: 65.7 kB / 0.7462 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.6768, allocations: 211.5 kB / 0.7465 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008952/0.6777, allocations: 0.7706 MB / 0.7472 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006649/0.6784, allocations: 339.6 kB / 0.7475 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.6786, allocations: 337.9 kB / 0.7478 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/0.6804, allocations: 0.9377 MB / 0.7488 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.6824, allocations: 1.095 MB / 0.7498 GB, free: 376 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/0.6864, allocations: 2.161 MB / 0.7519 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6864, allocations: 0 / 0.7519 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006178/0.6925, allocations: 3.18 MB / 0.7551 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.6926, allocations: 4 kB / 0.7551 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.6926, allocations: 4.047 kB / 0.7551 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01325/0.7058, allocations: 2.667 MB / 0.7577 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.7072, allocations: 239.7 kB / 0.7579 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008082/0.7152, allocations: 4.099 MB / 0.7619 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.7164, allocations: 166.8 kB / 0.7621 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.7167, allocations: 69.22 kB / 0.7621 GB, free: 3.754 MB / 0.5919 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.0007059/0.7174, allocations: 333.6 kB / 0.7624 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/0.7177, allocations: 107.4 kB / 0.7625 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2212/0.9389, allocations: 9.049 MB / 0.7714 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001133/0.939, allocations: 117.5 kB / 0.7715 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/0.939, allocations: 3.062 kB / 0.7715 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-05/0.939, allocations: 14.64 kB / 0.7715 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.9538, allocations: 10.83 MB / 0.7821 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/0.9538, allocations: 3.938 kB / 0.7821 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002935/0.9568, allocations: 0.5107 MB / 0.7826 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005297/0.9621, allocations: 2.181 MB / 0.7847 GB, free: 200.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004248/0.9625, allocations: 82.53 kB / 0.7848 GB, free: 200.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/0.9749, allocations: 19.87 MB / 0.8042 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.975, allocations: 5.125 kB / 0.8042 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.9898, allocations: 9.86 MB / 0.8138 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.9911, allocations: 0.6064 MB / 0.8144 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/0.9915, allocations: 76.55 kB / 0.8145 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.9928, allocations: 86.97 kB / 0.8146 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003976/0.9932, allocations: 180.4 kB / 0.8148 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.9933, allocations: 77.81 kB / 0.8148 GB, free: 178 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000368/0.9937, allocations: 380.4 kB / 0.8152 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.9937, allocations: 3.844 kB / 0.8152 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002691/0.9964, allocations: 1.274 MB / 0.8164 GB, free: 177.6 MB / 0.5919 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.003778/1, allocations: 1.062 MB / 0.8175 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007742/1.008, allocations: 3.907 MB / 0.8213 GB, free: 173.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.008, allocations: 4 kB / 0.8213 GB, free: 173.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005156/1.013, allocations: 3.489 MB / 0.8247 GB, free: 170 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/1.016, allocations: 0.789 MB / 0.8255 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007942/1.024, allocations: 7.302 MB / 0.8326 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/1.025, allocations: 1.639 MB / 0.8342 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001186/1.026, allocations: 418.4 kB / 0.8346 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004626/1.027, allocations: 111.4 kB / 0.8347 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/1.027, allocations: 0 / 0.8347 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.09393/1.121, allocations: 82.98 MB / 0.9157 GB, free: 76.69 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.161162119358778] Failed to read output from testmodel.py, exit status != 0: 1.1296374406665564 1.14757658 0.558291089 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1e396a17b0>