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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002137/0.002137, allocations: 104 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002117/0.002117, allocations: 191.5 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 224.4 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2916/0.2916, allocations: 48.84 MB / 320.6 MB, free: 11.08 MB / 270.1 MB 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.002456/0.002456, allocations: 66.83 kB / 390.7 MB, free: 48.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1337, allocations: 59.17 MB / 449.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.4122/0.546, allocations: 160.8 MB / 0.5964 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.5574, allocations: 9.926 MB / 0.6061 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003816/0.5578, allocations: 6.5 kB / 0.6061 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004438/0.5584, allocations: 98.27 kB / 0.6062 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005277/0.5636, allocations: 2.098 MB / 0.6082 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00736/0.571, allocations: 2.578 MB / 0.6107 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.5732, allocations: 2.233 MB / 0.6129 GB, free: 128 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007132/0.5739, allocations: 0.6298 MB / 0.6135 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007353/0.5746, allocations: 0.6949 MB / 0.6142 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/0.5776, allocations: 1.554 MB / 0.6157 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.5779, allocations: 118.3 kB / 0.6158 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.5882, allocations: 5.821 MB / 0.6215 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000791/0.589, allocations: 0.6158 MB / 0.6221 GB, free: 9.672 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009854/0.59, allocations: 0.6927 MB / 0.6228 GB, free: 8.977 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008265/0.5983, allocations: 4.502 MB / 0.6272 GB, free: 4.465 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5983, allocations: 4 kB / 0.6272 GB, free: 4.461 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5983, allocations: 0 / 0.6272 GB, free: 4.461 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.674e-05/0.5984, allocations: 0 / 0.6272 GB, free: 4.461 MB / 446.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.006528/0.6049, allocations: 1.981 MB / 0.6291 GB, free: 2.426 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.605, allocations: 11.89 kB / 0.6292 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.6077, allocations: 287.5 kB / 0.6294 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.6088, allocations: 0.6512 MB / 0.6301 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-05/0.6089, allocations: 78.38 kB / 0.6301 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/0.6093, allocations: 132.4 kB / 0.6303 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/0.613, allocations: 1.753 MB / 0.632 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.6131, allocations: 0 / 0.632 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.6132, allocations: 44 kB / 0.632 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.6132, allocations: 24 kB / 0.632 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003765/0.617, allocations: 1.838 MB / 0.6338 GB, free: 13.56 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.006941/0.624, allocations: 4.729 MB / 0.6385 GB, free: 8.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005345/0.6293, allocations: 2.482 MB / 0.6409 GB, free: 6.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.631, allocations: 1.09 MB / 0.6419 GB, free: 5.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04428/0.6752, allocations: 20.07 MB / 0.6615 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.6753, allocations: 52.56 kB / 0.6616 GB, free: 14.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=207): time 9.448e-06/0.6754, allocations: 0 / 0.6616 GB, free: 14.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=207): time 0.01475/0.6901, allocations: 6.339 MB / 0.6678 GB, free: 7.953 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.6902, allocations: 73.41 kB / 0.6678 GB, free: 7.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.6907, allocations: 385.7 kB / 0.6682 GB, free: 7.484 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.6908, allocations: 69.64 kB / 0.6683 GB, free: 7.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.691, allocations: 207.3 kB / 0.6685 GB, free: 7.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006437/0.6916, allocations: 0.7277 MB / 0.6692 GB, free: 6.465 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005169/0.6922, allocations: 343.6 kB / 0.6695 GB, free: 6.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.6923, allocations: 341.9 kB / 0.6698 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.6938, allocations: 0.933 MB / 0.6708 GB, free: 4.848 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.6954, allocations: 1.087 MB / 0.6718 GB, free: 3.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/0.6987, allocations: 2.172 MB / 0.6739 GB, free: 1.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.6987, allocations: 0 / 0.6739 GB, free: 1.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005516/0.7042, allocations: 3.249 MB / 0.6771 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.7043, allocations: 4 kB / 0.6771 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.7043, allocations: 0 / 0.6771 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01215/0.7164, allocations: 2.685 MB / 0.6797 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.7177, allocations: 239.7 kB / 0.68 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006623/0.7244, allocations: 4.095 MB / 0.684 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.7256, allocations: 150.4 kB / 0.6841 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.7258, allocations: 75.97 kB / 0.6842 GB, free: 7.039 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.0005689/0.7264, allocations: 329.6 kB / 0.6845 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.7267, allocations: 102.9 kB / 0.6846 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.7387, allocations: 8.954 MB / 0.6933 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/0.7388, allocations: 119.8 kB / 0.6935 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/0.7388, allocations: 3.984 kB / 0.6935 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/0.7389, allocations: 15.95 kB / 0.6935 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.7534, allocations: 10.68 MB / 0.7039 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/0.7535, allocations: 4.031 kB / 0.7039 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/0.7563, allocations: 0.5073 MB / 0.7044 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005205/0.7616, allocations: 2.153 MB / 0.7065 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004969/0.7621, allocations: 79.94 kB / 0.7066 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.7782, allocations: 20.64 MB / 0.7267 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7782, allocations: 0 / 0.7267 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2194/0.9976, allocations: 9.699 MB / 0.7362 GB, free: 220.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.9992, allocations: 0.6592 MB / 0.7369 GB, free: 220.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/0.9995, allocations: 76.56 kB / 0.7369 GB, free: 220.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.001, allocations: 83.02 kB / 0.737 GB, free: 220.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003915/1.001, allocations: 176.3 kB / 0.7372 GB, free: 220.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/1.001, allocations: 83.91 kB / 0.7373 GB, free: 220.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004317/1.002, allocations: 375.2 kB / 0.7376 GB, free: 220.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.002, allocations: 0 / 0.7376 GB, free: 220.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003641/1.005, allocations: 1.264 MB / 0.7388 GB, free: 220.7 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: 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.004/1.009, allocations: 1.058 MB / 0.7399 GB, free: 220.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02005/1.029, allocations: 6.584 MB / 0.7463 GB, free: 220.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.029, allocations: 0 / 0.7463 GB, free: 220.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006272/1.036, allocations: 3.767 MB / 0.75 GB, free: 218.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004284/1.04, allocations: 0.8014 MB / 0.7508 GB, free: 218.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009988/1.05, allocations: 7.25 MB / 0.7578 GB, free: 215.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009117/1.051, allocations: 1.641 MB / 0.7595 GB, free: 214.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006165/1.052, allocations: 111.2 kB / 0.7596 GB, free: 214.4 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/1.052, allocations: 4 kB / 0.7596 GB, free: 214.4 MB / 0.545 GB Notification: Performance of Templates: time 0.08253/1.134, allocations: 99.64 MB / 0.8569 GB, free: 119.9 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile (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)