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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 114.7 kB / 16.51 MB, free: 6.652 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.001122/0.001122, allocations: 199.9 kB / 17.43 MB, free: 6.035 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.129/1.129, allocations: 205.1 MB / 223.3 MB, free: 12.37 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2368/0.2368, allocations: 48.84 MB / 319.5 MB, free: 11.29 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.001378/0.001378, allocations: 62.47 kB / 389.5 MB, free: 48.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0755/0.07689, allocations: 59.16 MB / 448.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3139/0.3908, allocations: 159.5 MB / 0.5939 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.401, allocations: 10.62 MB / 0.6043 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.4013, allocations: 9.188 kB / 0.6043 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.4016, allocations: 86.5 kB / 0.6044 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.4053, allocations: 1.672 MB / 0.606 GB, free: 4.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004845/0.4102, allocations: 2.113 MB / 0.6081 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.4121, allocations: 2.639 MB / 0.6106 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007863/0.4129, allocations: 0.555 MB / 0.6112 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008308/0.4137, allocations: 0.6039 MB / 0.6118 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.4163, allocations: 1.616 MB / 0.6133 GB, free: 20 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.4165, allocations: 60.59 kB / 0.6134 GB, free: 20 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008521/0.425, allocations: 5.852 MB / 0.6191 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005522/0.4256, allocations: 0.5689 MB / 0.6197 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009767/0.4266, allocations: 0.6264 MB / 0.6203 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006345/0.4329, allocations: 4.475 MB / 0.6246 GB, free: 6.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4329, allocations: 0 / 0.6246 GB, free: 6.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.4329, allocations: 0 / 0.6246 GB, free: 6.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.377e-05/0.433, allocations: 4 kB / 0.6247 GB, free: 6.488 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.005499/0.4385, allocations: 1.992 MB / 0.6266 GB, free: 4.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4385, allocations: 8.031 kB / 0.6266 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/0.4387, allocations: 152.2 kB / 0.6268 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.441, allocations: 287.5 kB / 0.627 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.4419, allocations: 0.6434 MB / 0.6277 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/0.4419, allocations: 78.38 kB / 0.6277 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.4422, allocations: 132.2 kB / 0.6279 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/0.4453, allocations: 1.761 MB / 0.6296 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.4453, allocations: 0 / 0.6296 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.4454, allocations: 40 kB / 0.6296 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.4455, allocations: 20 kB / 0.6296 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/0.4488, allocations: 1.854 MB / 0.6314 GB, free: 15.41 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.005869/0.4547, allocations: 4.73 MB / 0.6361 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/0.4593, allocations: 2.471 MB / 0.6385 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.4608, allocations: 1.092 MB / 0.6395 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03665/0.4974, allocations: 20.06 MB / 0.6591 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.4975, allocations: 52.56 kB / 0.6592 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of pre-optimization done (n=207): time 3.216e-06/0.4975, allocations: 0 / 0.6592 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of matching and sorting (n=207): time 0.01338/0.5109, allocations: 6.327 MB / 0.6654 GB, free: 9.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5109, allocations: 73.41 kB / 0.6654 GB, free: 9.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.5113, allocations: 389.7 kB / 0.6658 GB, free: 9.363 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.5114, allocations: 65.7 kB / 0.6659 GB, free: 9.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.5116, allocations: 207.4 kB / 0.6661 GB, free: 9.086 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005128/0.5121, allocations: 0.7315 MB / 0.6668 GB, free: 8.344 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004872/0.5126, allocations: 339.6 kB / 0.6671 GB, free: 8.004 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5127, allocations: 337.9 kB / 0.6674 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.5141, allocations: 0.9369 MB / 0.6683 GB, free: 6.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.5156, allocations: 1.099 MB / 0.6694 GB, free: 5.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.5187, allocations: 2.165 MB / 0.6715 GB, free: 3.453 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5188, allocations: 0 / 0.6715 GB, free: 3.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004804/0.5236, allocations: 3.246 MB / 0.6747 GB, free: 196 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5236, allocations: 8 kB / 0.6747 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5236, allocations: 4 kB / 0.6747 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01208/0.5357, allocations: 2.658 MB / 0.6773 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.5368, allocations: 243.7 kB / 0.6775 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00585/0.5427, allocations: 4.095 MB / 0.6815 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.5437, allocations: 154.4 kB / 0.6817 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.5438, allocations: 79.97 kB / 0.6818 GB, free: 8.93 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.0004777/0.5443, allocations: 337.6 kB / 0.6821 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.5446, allocations: 106.8 kB / 0.6822 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.5559, allocations: 8.954 MB / 0.6909 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.685e-05/0.5561, allocations: 111.8 kB / 0.691 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.5561, allocations: 4 kB / 0.691 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.5561, allocations: 11.95 kB / 0.691 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.5693, allocations: 10.68 MB / 0.7015 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.5693, allocations: 0 / 0.7015 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/0.5719, allocations: 0.5151 MB / 0.702 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005048/0.577, allocations: 2.196 MB / 0.7041 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/0.5772, allocations: 83.95 kB / 0.7042 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.5912, allocations: 19.73 MB / 0.7235 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5913, allocations: 0 / 0.7235 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/0.6041, allocations: 9.704 MB / 0.7329 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000892/0.605, allocations: 0.6526 MB / 0.7336 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.6053, allocations: 83.7 kB / 0.7337 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.6064, allocations: 99.77 kB / 0.7338 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/0.6068, allocations: 170 kB / 0.7339 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/0.607, allocations: 75.97 kB / 0.734 GB, free: 1.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004463/0.6074, allocations: 382.8 kB / 0.7344 GB, free: 1.027 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6074, allocations: 4 kB / 0.7344 GB, free: 1.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.1502/0.7576, allocations: 1.26 MB / 0.7356 GB, free: 223.1 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.01383/0.7714, allocations: 9.939 MB / 0.7453 GB, free: 220.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00708/0.7785, allocations: 3.921 MB / 0.7491 GB, free: 219.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7786, allocations: 1.469 kB / 0.7491 GB, free: 219.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005131/0.7837, allocations: 3.756 MB / 0.7528 GB, free: 217.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/0.7869, allocations: 0.7673 MB / 0.7535 GB, free: 217.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/0.8099, allocations: 20.65 MB / 0.7737 GB, free: 204.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007225/0.8107, allocations: 1.642 MB / 0.7753 GB, free: 202.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001144/0.8118, allocations: 415.1 kB / 0.7757 GB, free: 202.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007374/0.8125, allocations: 0.7883 MB / 0.7765 GB, free: 201.7 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.8126, allocations: 0 / 0.7765 GB, free: 201.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08937/0.9019, allocations: 95.77 MB / 0.87 GB, free: 105.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/0.9021, allocations: 244.7 kB / 0.8702 GB, free: 105.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.074/5.976, allocations: 0 / 0.8702 GB, free: 105.4 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking_fmu --startTime=-50 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1)