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.001222/0.001222, allocations: 111.7 kB / 16.62 MB, free: 6.812 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.001148/0.001148, allocations: 190 kB / 17.55 MB, free: 5.934 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.156/1.156, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2394/0.2394, allocations: 48.83 MB / 319.6 MB, free: 11.27 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.001263/0.001263, allocations: 73.03 kB / 389.7 MB, free: 48.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07597/0.07724, allocations: 59.16 MB / 448.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.2994/0.3766, allocations: 159 MB / 0.5935 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008899/0.3856, allocations: 9.985 MB / 0.6033 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.3858, allocations: 12.59 kB / 0.6033 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.3862, allocations: 78.16 kB / 0.6034 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003867/0.39, allocations: 1.877 MB / 0.6052 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004932/0.395, allocations: 2.286 MB / 0.6074 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.3967, allocations: 2.226 MB / 0.6096 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000528/0.3972, allocations: 0.6298 MB / 0.6102 GB, free: 2.047 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000562/0.3978, allocations: 0.7197 MB / 0.6109 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.4, allocations: 1.643 MB / 0.6125 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.4001, allocations: 117.3 kB / 0.6126 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007609/0.4077, allocations: 5.881 MB / 0.6184 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004654/0.4082, allocations: 0.6314 MB / 0.619 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000626/0.4088, allocations: 0.685 MB / 0.6197 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004702/0.4135, allocations: 4.525 MB / 0.6241 GB, free: 6.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4136, allocations: 0 / 0.6241 GB, free: 6.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4136, allocations: 4 kB / 0.6241 GB, free: 6.953 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4136, allocations: 0 / 0.6241 GB, free: 6.953 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.004937/0.4185, allocations: 1.982 MB / 0.626 GB, free: 4.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4186, allocations: 15.89 kB / 0.626 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.4188, allocations: 152.2 kB / 0.6262 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.4211, allocations: 287.4 kB / 0.6265 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008189/0.422, allocations: 0.6473 MB / 0.6271 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/0.422, allocations: 78.38 kB / 0.6272 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.4222, allocations: 132.2 kB / 0.6273 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.4254, allocations: 1.757 MB / 0.629 GB, free: 1.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.4255, allocations: 0 / 0.629 GB, free: 1.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.4256, allocations: 47.44 kB / 0.629 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4256, allocations: 24 kB / 0.6291 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.429, allocations: 1.842 MB / 0.6309 GB, free: 15.88 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.00588/0.4349, allocations: 4.725 MB / 0.6355 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004729/0.4396, allocations: 2.475 MB / 0.6379 GB, free: 8.449 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.4411, allocations: 1.088 MB / 0.639 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03622/0.4773, allocations: 20.06 MB / 0.6586 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4774, allocations: 52.56 kB / 0.6586 GB, free: 1.031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=207): time 3.818e-06/0.4774, allocations: 0 / 0.6586 GB, free: 1.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=207): time 0.01319/0.4906, allocations: 6.331 MB / 0.6648 GB, free: 10.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.4907, allocations: 77.41 kB / 0.6649 GB, free: 10.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.491, allocations: 385.7 kB / 0.6652 GB, free: 9.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.4912, allocations: 61.7 kB / 0.6653 GB, free: 9.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.4913, allocations: 207.3 kB / 0.6655 GB, free: 9.559 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005079/0.4918, allocations: 0.7315 MB / 0.6662 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000482/0.4923, allocations: 359.4 kB / 0.6665 GB, free: 8.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.4924, allocations: 337.9 kB / 0.6669 GB, free: 8.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.4938, allocations: 0.9369 MB / 0.6678 GB, free: 7.184 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.4952, allocations: 1.095 MB / 0.6688 GB, free: 6.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003003/0.4982, allocations: 2.157 MB / 0.671 GB, free: 3.918 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4983, allocations: 0 / 0.671 GB, free: 3.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004687/0.5029, allocations: 3.257 MB / 0.6741 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.503, allocations: 4 kB / 0.6741 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.503, allocations: 3.984 kB / 0.6741 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/0.5146, allocations: 2.68 MB / 0.6768 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.5156, allocations: 239.7 kB / 0.677 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005841/0.5215, allocations: 4.095 MB / 0.681 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009801/0.5225, allocations: 158.4 kB / 0.6811 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.5226, allocations: 71.97 kB / 0.6812 GB, free: 9.371 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.0004498/0.5231, allocations: 333.6 kB / 0.6815 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.5233, allocations: 106.8 kB / 0.6816 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/0.5341, allocations: 8.95 MB / 0.6904 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.381e-05/0.5342, allocations: 115.8 kB / 0.6905 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.5342, allocations: 4 kB / 0.6905 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.31e-05/0.5342, allocations: 15.94 kB / 0.6905 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.5466, allocations: 10.68 MB / 0.7009 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.5467, allocations: 0 / 0.7009 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/0.5492, allocations: 0.5072 MB / 0.7014 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004483/0.5537, allocations: 2.157 MB / 0.7035 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/0.5539, allocations: 83.94 kB / 0.7036 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/0.5671, allocations: 20.64 MB / 0.7238 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5671, allocations: 0 / 0.7238 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/0.5792, allocations: 9.704 MB / 0.7332 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000777/0.58, allocations: 0.6565 MB / 0.7339 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.5802, allocations: 83.72 kB / 0.734 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5812, allocations: 91.84 kB / 0.734 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/0.5816, allocations: 173.9 kB / 0.7342 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.5817, allocations: 79.97 kB / 0.7343 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003617/0.5821, allocations: 378.8 kB / 0.7347 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5821, allocations: 0 / 0.7347 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.142/0.7242, allocations: 1.259 MB / 0.7359 GB, free: 222.9 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.01341/0.7376, allocations: 9.939 MB / 0.7456 GB, free: 220.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01617/0.7538, allocations: 6.581 MB / 0.752 GB, free: 219.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7538, allocations: 1.375 kB / 0.752 GB, free: 219.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004179/0.758, allocations: 3.774 MB / 0.7557 GB, free: 217.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/0.7609, allocations: 0.8012 MB / 0.7565 GB, free: 217.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/0.7825, allocations: 20.67 MB / 0.7767 GB, free: 201.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/0.7832, allocations: 1.655 MB / 0.7783 GB, free: 199.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001085/0.7843, allocations: 410.5 kB / 0.7787 GB, free: 199.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007087/0.785, allocations: 0.7921 MB / 0.7794 GB, free: 198.4 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.785, allocations: 3.938 kB / 0.7795 GB, free: 198.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/0.887, allocations: 98.28 MB / 0.8754 GB, free: 99.93 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001311/0.8872, allocations: 241 kB / 0.8757 GB, free: 99.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.341/6.228, allocations: 0 / 0.8757 GB, free: 99.68 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)