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.001379/0.001379, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001507/0.001507, allocations: 214.2 kB / 23.75 MB, free: 4.668 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 8 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.1582/0.1582, allocations: 26.83 MB / 340.7 MB, free: 8.199 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.001999/0.001999, allocations: 75.83 kB / 477.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.296, allocations: 60.48 MB / 0.5252 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.2042/0.5002, allocations: 164.5 MB / 0.6858 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0137/0.5139, allocations: 10.02 MB / 0.6956 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003986/0.5143, allocations: 7.938 kB / 0.6956 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.5147, allocations: 107.2 kB / 0.6957 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00682/0.5215, allocations: 2.121 MB / 0.6978 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00772/0.5292, allocations: 2.6 MB / 0.7003 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003317/0.5325, allocations: 2.238 MB / 0.7025 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.5337, allocations: 0.6131 MB / 0.7031 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.5348, allocations: 0.7018 MB / 0.7038 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003671/0.5384, allocations: 1.574 MB / 0.7053 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002846/0.5387, allocations: 120 kB / 0.7055 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/0.5511, allocations: 5.994 MB / 0.7113 GB, free: 5.852 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009289/0.552, allocations: 0.6196 MB / 0.7119 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.553, allocations: 0.6927 MB / 0.7126 GB, free: 4.535 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.5642, allocations: 4.528 MB / 0.717 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5642, allocations: 0 / 0.717 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5642, allocations: 0 / 0.717 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.5642, allocations: 4 kB / 0.717 GB, free: 15.99 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.006842/0.5711, allocations: 1.952 MB / 0.7189 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5711, allocations: 8.031 kB / 0.7189 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.5737, allocations: 296 kB / 0.7192 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.5753, allocations: 0.5911 MB / 0.7198 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/0.5754, allocations: 78.38 kB / 0.7199 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/0.5757, allocations: 140.2 kB / 0.72 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/0.5795, allocations: 1.757 MB / 0.7217 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.5795, allocations: 0 / 0.7217 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.5796, allocations: 36 kB / 0.7217 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.5796, allocations: 28 kB / 0.7218 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/0.5835, allocations: 1.846 MB / 0.7236 GB, free: 9.18 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.00762/0.5911, allocations: 4.615 MB / 0.7281 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005308/0.5964, allocations: 2.353 MB / 0.7304 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.5982, allocations: 1.006 MB / 0.7314 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2609/0.8591, allocations: 11.71 MB / 0.7428 GB, free: 192.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.8591, allocations: 56.59 kB / 0.7429 GB, free: 192.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 4.688e-06/0.8591, allocations: 0 / 0.7429 GB, free: 192.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01458/0.8737, allocations: 4.949 MB / 0.7477 GB, free: 190 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.8738, allocations: 77.81 kB / 0.7478 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.8742, allocations: 390.5 kB / 0.7481 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.8743, allocations: 60.92 kB / 0.7482 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.8745, allocations: 213.8 kB / 0.7484 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006728/0.8752, allocations: 0.767 MB / 0.7491 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/0.8757, allocations: 344.6 kB / 0.7495 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.8757, allocations: 343 kB / 0.7498 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.8771, allocations: 0.9449 MB / 0.7507 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.8784, allocations: 1.093 MB / 0.7518 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.8812, allocations: 2.161 MB / 0.7539 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.8812, allocations: 0 / 0.7539 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004198/0.8854, allocations: 3.177 MB / 0.757 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.8854, allocations: 6.812 kB / 0.757 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.8854, allocations: 0 / 0.757 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/0.8965, allocations: 2.659 MB / 0.7596 GB, free: 181 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.8976, allocations: 241.5 kB / 0.7598 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005316/0.9029, allocations: 4.1 MB / 0.7638 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.9041, allocations: 152.2 kB / 0.764 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.9042, allocations: 79.95 kB / 0.7641 GB, free: 176.4 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.0005262/0.9048, allocations: 329.6 kB / 0.7644 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.905, allocations: 111.3 kB / 0.7645 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009764/0.9148, allocations: 9.049 MB / 0.7733 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.906e-05/0.9149, allocations: 111.8 kB / 0.7734 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.9149, allocations: 4 kB / 0.7734 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.224e-05/0.9149, allocations: 15.89 kB / 0.7734 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.9262, allocations: 10.82 MB / 0.784 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.9262, allocations: 4.031 kB / 0.784 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/0.9287, allocations: 0.5111 MB / 0.7845 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004333/0.933, allocations: 2.184 MB / 0.7866 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002907/0.9333, allocations: 83.94 kB / 0.7867 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/0.9437, allocations: 19.88 MB / 0.8061 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9437, allocations: 8.031 kB / 0.8061 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.9552, allocations: 9.868 MB / 0.8158 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.9562, allocations: 0.5942 MB / 0.8164 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.9565, allocations: 79.88 kB / 0.8164 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.9575, allocations: 83.88 kB / 0.8165 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003497/0.9579, allocations: 185.8 kB / 0.8167 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.958, allocations: 79.97 kB / 0.8168 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003415/0.9584, allocations: 374.8 kB / 0.8171 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9584, allocations: 0 / 0.8171 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002855/0.9612, allocations: 1.284 MB / 0.8184 GB, free: 119.2 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.003346/0.9646, allocations: 1.063 MB / 0.8194 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007101/0.9717, allocations: 3.909 MB / 0.8232 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.9717, allocations: 0 / 0.8232 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004672/0.9763, allocations: 3.486 MB / 0.8266 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/0.9797, allocations: 0.7962 MB / 0.8274 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007773/0.9875, allocations: 7.299 MB / 0.8345 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/0.9883, allocations: 1.643 MB / 0.8362 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001253/0.9895, allocations: 406.5 kB / 0.8365 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.9899, allocations: 115.3 kB / 0.8367 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.372e-06/0.9899, allocations: 0 / 0.8367 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.09338/1.083, allocations: 83.09 MB / 0.9178 GB, free: 17.49 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: 10.487596176564693] Failed to read output from testmodel.py, exit status != 0: 1.0932328253984451 1.103703213 0.5369119950000001 Calling exit ...