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.001515/0.001515, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001675/0.001675, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.423/1.423, allocations: 158.6 MB / 186.1 MB, free: 2.879 MB / 170.7 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.3046/0.3046, allocations: 36.35 MB / 274.7 MB, free: 10.71 MB / 266.7 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.292e-06/1.292e-06, allocations: 0 / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.309e-05, allocations: 5.688 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3388/0.3388, allocations: 139.2 MB / 492.3 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009932/0.3487, allocations: 8.841 MB / 0.4894 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003976/0.3491, allocations: 7.312 kB / 0.4894 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.3496, allocations: 105.1 kB / 0.4895 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005267/0.3548, allocations: 2.115 MB / 0.4915 GB, free: 15.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008675/0.3635, allocations: 2.601 MB / 0.4941 GB, free: 13.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002884/0.3664, allocations: 2.258 MB / 0.4963 GB, free: 12.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.3677, allocations: 0.6683 MB / 0.4969 GB, free: 11.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.3694, allocations: 0.9361 MB / 0.4979 GB, free: 10.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003612/0.3731, allocations: 1.539 MB / 0.4994 GB, free: 8.984 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.3733, allocations: 116 kB / 0.4995 GB, free: 8.871 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.3858, allocations: 5.724 MB / 0.5051 GB, free: 3.141 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009322/0.3867, allocations: 0.651 MB / 0.5057 GB, free: 2.488 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009624/0.3877, allocations: 0.5615 MB / 0.5062 GB, free: 1.926 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.3995, allocations: 5.546 MB / 0.5117 GB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3995, allocations: 0 / 0.5117 GB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3996, allocations: 0 / 0.5117 GB, free: 12.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.374e-05/0.3996, allocations: 0 / 0.5117 GB, free: 12.37 MB / 394.7 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.006657/0.4062, allocations: 1.937 MB / 0.5135 GB, free: 10.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4063, allocations: 12.02 kB / 0.5136 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.4092, allocations: 482.5 kB / 0.514 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.4106, allocations: 0.641 MB / 0.5146 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/0.4107, allocations: 78.38 kB / 0.5147 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/0.411, allocations: 136.2 kB / 0.5149 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004401/0.4154, allocations: 1.753 MB / 0.5166 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.4155, allocations: 384 / 0.5166 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.4156, allocations: 43.94 kB / 0.5166 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.4156, allocations: 20 kB / 0.5166 GB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00433/0.42, allocations: 1.826 MB / 0.5184 GB, free: 5.367 MB / 394.7 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.008284/0.4282, allocations: 3.752 MB / 0.5221 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005943/0.4342, allocations: 2.365 MB / 0.5244 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.4361, allocations: 1.002 MB / 0.5254 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04283/0.4789, allocations: 11.31 MB / 0.5364 GB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.506e-05/0.479, allocations: 60.48 kB / 0.5365 GB, free: 2.809 MB / 410.7 MB Notification: Performance of pre-optimization done (n=207): time 3.797e-06/0.479, allocations: 0 / 0.5365 GB, free: 2.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=207): time 0.01636/0.4954, allocations: 5.092 MB / 0.5414 GB, free: 13.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.4955, allocations: 73.41 kB / 0.5415 GB, free: 13.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.4959, allocations: 333.7 kB / 0.5418 GB, free: 13.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.4961, allocations: 65.7 kB / 0.5419 GB, free: 13.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.4963, allocations: 211.5 kB / 0.5421 GB, free: 12.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000865/0.4972, allocations: 0.7628 MB / 0.5428 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008502/0.498, allocations: 351.5 kB / 0.5432 GB, free: 11.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.4982, allocations: 334 kB / 0.5435 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.5001, allocations: 0.933 MB / 0.5444 GB, free: 10.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.5022, allocations: 1.192 MB / 0.5456 GB, free: 9.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004177/0.5064, allocations: 2.165 MB / 0.5477 GB, free: 7.176 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5064, allocations: 0 / 0.5477 GB, free: 7.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006894/0.5133, allocations: 3.242 MB / 0.5508 GB, free: 3.922 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5133, allocations: 4 kB / 0.5508 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5133, allocations: 4 kB / 0.5508 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01424/0.5275, allocations: 2.657 MB / 0.5534 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.529, allocations: 235.7 kB / 0.5537 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008533/0.5375, allocations: 4.146 MB / 0.5577 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.5388, allocations: 158.9 kB / 0.5579 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.539, allocations: 67.97 kB / 0.5579 GB, free: 12.63 MB / 442.7 MB 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.0007107/0.5397, allocations: 329.6 kB / 0.5582 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00047/0.5402, allocations: 171.4 kB / 0.5584 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01555/0.5558, allocations: 9.058 MB / 0.5673 GB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001352/0.5559, allocations: 115.8 kB / 0.5674 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/0.5559, allocations: 8 kB / 0.5674 GB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.081e-05/0.556, allocations: 11.95 kB / 0.5674 GB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/0.5741, allocations: 10.27 MB / 0.5774 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.5741, allocations: 0 / 0.5774 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003172/0.5773, allocations: 0.5073 MB / 0.5779 GB, free: 7.848 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006364/0.5836, allocations: 2.207 MB / 0.5801 GB, free: 5.578 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005106/0.5841, allocations: 79.95 kB / 0.5801 GB, free: 5.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/0.6053, allocations: 19.68 MB / 0.5994 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6054, allocations: 4.172 kB / 0.5994 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/0.6233, allocations: 9.951 MB / 0.6091 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/0.6252, allocations: 0.5865 MB / 0.6097 GB, free: 5.957 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004028/0.6256, allocations: 83.81 kB / 0.6097 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.6271, allocations: 87.88 kB / 0.6098 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004991/0.6276, allocations: 189.7 kB / 0.61 GB, free: 5.602 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/0.6278, allocations: 83.97 kB / 0.6101 GB, free: 5.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005036/0.6283, allocations: 331.1 kB / 0.6104 GB, free: 5.195 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6283, allocations: 0 / 0.6104 GB, free: 5.195 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003996/0.6323, allocations: 1.284 MB / 0.6117 GB, free: 3.91 MB / 490.7 MB 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.004251/0.6366, allocations: 1.163 MB / 0.6128 GB, free: 2.742 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1537/0.7903, allocations: 3.912 MB / 0.6166 GB, free: 211.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7903, allocations: 0 / 0.6166 GB, free: 211.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005958/0.7962, allocations: 3.487 MB / 0.62 GB, free: 210.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/0.8002, allocations: 0.7756 MB / 0.6208 GB, free: 210.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/0.8085, allocations: 6.781 MB / 0.6274 GB, free: 207.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007844/0.8093, allocations: 1.065 MB / 0.6284 GB, free: 207 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001225/0.8105, allocations: 398.8 kB / 0.6288 GB, free: 206.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/0.8109, allocations: 117.5 kB / 0.6289 GB, free: 206.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.393e-06/0.8109, allocations: 0 / 0.6289 GB, free: 206.9 MB / 490.7 MB Notification: Performance of Templates: time 0.07768/0.8886, allocations: 74.49 MB / 0.7017 GB, free: 134.7 MB / 490.7 MB " [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.765128779923543]