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.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.001414/0.001414, allocations: 84.23 kB / 20.68 MB, free: 1.023 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.001501/0.001501, allocations: 163.9 kB / 23.96 MB, free: 4.145 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.361/1.361, allocations: 158.6 MB / 185.7 MB, free: 6.422 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2761/0.2761, allocations: 36.35 MB / 274.3 MB, free: 0.6484 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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_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: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 414.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.72e-05, allocations: 6.219 kB / 414.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3623/0.3623, allocations: 139.2 MB / 0.5411 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.3753, allocations: 8.839 MB / 0.5497 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.3756, allocations: 7.938 kB / 0.5497 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.3761, allocations: 107.2 kB / 0.5498 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005993/0.3821, allocations: 2.111 MB / 0.5519 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007378/0.3894, allocations: 2.596 MB / 0.5544 GB, free: 13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002724/0.3922, allocations: 2.262 MB / 0.5566 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.3932, allocations: 0.6208 MB / 0.5572 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3948, allocations: 0.9361 MB / 0.5582 GB, free: 9.164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003767/0.3986, allocations: 1.535 MB / 0.5597 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.3989, allocations: 123.9 kB / 0.5598 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/0.4105, allocations: 5.724 MB / 0.5654 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008167/0.4113, allocations: 0.651 MB / 0.566 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.4124, allocations: 0.5576 MB / 0.5665 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009795/0.4222, allocations: 5.542 MB / 0.572 GB, free: 11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4222, allocations: 0 / 0.572 GB, free: 11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4222, allocations: 0 / 0.572 GB, free: 11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.434e-05/0.4222, allocations: 0 / 0.572 GB, free: 11 MB / 462.1 MB 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.006484/0.4287, allocations: 1.931 MB / 0.5738 GB, free: 9.031 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4288, allocations: 16.02 kB / 0.5739 GB, free: 9.016 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.4315, allocations: 292 kB / 0.5741 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.4328, allocations: 0.5943 MB / 0.5747 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/0.4328, allocations: 78.38 kB / 0.5748 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/0.4332, allocations: 132.2 kB / 0.5749 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004071/0.4372, allocations: 1.757 MB / 0.5766 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.4373, allocations: 384 / 0.5766 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.4374, allocations: 43.94 kB / 0.5767 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.4374, allocations: 24 kB / 0.5767 GB, free: 6.059 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004578/0.442, allocations: 1.826 MB / 0.5785 GB, free: 4.234 MB / 462.1 MB 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.007377/0.4494, allocations: 3.624 MB / 0.582 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005713/0.4551, allocations: 2.365 MB / 0.5843 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.4569, allocations: 1.002 MB / 0.5853 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04329/0.5002, allocations: 11.3 MB / 0.5963 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.803e-05/0.5002, allocations: 64.44 kB / 0.5964 GB, free: 1.809 MB / 478.1 MB Notification: Performance of pre-optimization done (n=207): time 4.759e-06/0.5002, allocations: 0 / 0.5964 GB, free: 1.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=207): time 0.01637/0.5166, allocations: 4.957 MB / 0.6012 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.5167, allocations: 73.41 kB / 0.6013 GB, free: 12.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.5171, allocations: 338.6 kB / 0.6016 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002337/0.5174, allocations: 61.7 kB / 0.6017 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.5176, allocations: 223.4 kB / 0.6019 GB, free: 12.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008527/0.5184, allocations: 0.7589 MB / 0.6026 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006814/0.5191, allocations: 339.6 kB / 0.603 GB, free: 10.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5193, allocations: 334 kB / 0.6033 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.5212, allocations: 0.9369 MB / 0.6042 GB, free: 9.703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.5233, allocations: 1.196 MB / 0.6054 GB, free: 8.465 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004039/0.5274, allocations: 2.165 MB / 0.6075 GB, free: 6.301 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5274, allocations: 0 / 0.6075 GB, free: 6.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006203/0.5336, allocations: 3.176 MB / 0.6106 GB, free: 3.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.5336, allocations: 4 kB / 0.6106 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5336, allocations: 0 / 0.6106 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0137/0.5473, allocations: 2.663 MB / 0.6132 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.5487, allocations: 239.7 kB / 0.6134 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007642/0.5563, allocations: 4.092 MB / 0.6174 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.5575, allocations: 154.9 kB / 0.6176 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.5577, allocations: 79.91 kB / 0.6176 GB, free: 11.87 MB / 0.4981 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.0006538/0.5583, allocations: 329.6 kB / 0.618 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.5586, allocations: 99.44 kB / 0.6181 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/0.5737, allocations: 9.18 MB / 0.627 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001379/0.5738, allocations: 119.8 kB / 0.6271 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-05/0.5738, allocations: 4 kB / 0.6271 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-05/0.5739, allocations: 15.94 kB / 0.6271 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.5902, allocations: 10.29 MB / 0.6372 GB, free: 7.527 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/0.5902, allocations: 0 / 0.6372 GB, free: 7.527 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003143/0.5934, allocations: 0.519 MB / 0.6377 GB, free: 7.008 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005882/0.5993, allocations: 2.137 MB / 0.6398 GB, free: 4.809 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000523/0.5998, allocations: 87.88 kB / 0.6399 GB, free: 4.723 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01884/0.6186, allocations: 19.64 MB / 0.6591 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6186, allocations: 0 / 0.6591 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01749/0.6361, allocations: 9.913 MB / 0.6687 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.6375, allocations: 0.5904 MB / 0.6693 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000425/0.6379, allocations: 71.94 kB / 0.6694 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.6392, allocations: 79.94 kB / 0.6695 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005443/0.6397, allocations: 185.8 kB / 0.6696 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/0.64, allocations: 79.97 kB / 0.6697 GB, free: 4.855 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004354/0.6404, allocations: 303.1 kB / 0.67 GB, free: 4.559 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6404, allocations: 4 kB / 0.67 GB, free: 4.555 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003816/0.6442, allocations: 1.28 MB / 0.6712 GB, free: 3.273 MB / 0.545 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.005028/0.6492, allocations: 1.183 MB / 0.6724 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.1777/0.827, allocations: 3.926 MB / 0.6762 GB, free: 219.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.827, allocations: 1.281 kB / 0.6762 GB, free: 219.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005931/0.8329, allocations: 3.518 MB / 0.6797 GB, free: 218.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/0.8364, allocations: 0.749 MB / 0.6804 GB, free: 217.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009291/0.8457, allocations: 6.768 MB / 0.687 GB, free: 214.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.8468, allocations: 1.071 MB / 0.6881 GB, free: 214.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001273/0.8481, allocations: 411.7 kB / 0.6885 GB, free: 214.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.8485, allocations: 105.2 kB / 0.6886 GB, free: 214.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.51e-07/0.8485, allocations: 0 / 0.6886 GB, free: 214.6 MB / 0.545 GB Notification: Performance of Templates: time 0.07989/0.9284, allocations: 74.2 MB / 0.761 GB, free: 146.9 MB / 0.545 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: 10.323768943548203] Failed to read output from testmodel.py, exit status != 0: 0.9376697018742561 0.946557083 0.522008582 Calling exit ...