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.001479/0.001479, allocations: 113.2 kB / 17.07 MB, free: 5.988 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.001608/0.001608, allocations: 193.4 kB / 18 MB, free: 5.074 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.403/1.403, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3042/0.3042, allocations: 48.84 MB / 320.1 MB, free: 11.02 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.00206/0.00206, allocations: 75.89 kB / 450 MB, free: 9.055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1221, allocations: 59.15 MB / 0.4973 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.4183/0.5404, allocations: 160.8 MB / 0.6543 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01287/0.5533, allocations: 9.919 MB / 0.664 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.5536, allocations: 7.938 kB / 0.664 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.5541, allocations: 107.2 kB / 0.6641 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005315/0.5594, allocations: 2.09 MB / 0.6661 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007625/0.567, allocations: 2.584 MB / 0.6686 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002699/0.5697, allocations: 2.228 MB / 0.6708 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.5708, allocations: 0.63 MB / 0.6714 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009585/0.5717, allocations: 0.698 MB / 0.6721 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003455/0.5752, allocations: 1.55 MB / 0.6736 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.5755, allocations: 116 kB / 0.6737 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01175/0.5872, allocations: 5.968 MB / 0.6796 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008417/0.5881, allocations: 0.6236 MB / 0.6802 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.5891, allocations: 0.6927 MB / 0.6808 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009878/0.599, allocations: 4.512 MB / 0.6853 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5991, allocations: 0 / 0.6853 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5991, allocations: 0 / 0.6853 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.614e-05/0.5991, allocations: 0 / 0.6853 GB, free: 9.566 MB / 0.5294 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.006724/0.6058, allocations: 2.032 MB / 0.6872 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.6059, allocations: 11.89 kB / 0.6872 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002425/0.6062, allocations: 156.1 kB / 0.6874 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.6087, allocations: 288.1 kB / 0.6877 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.6099, allocations: 0.6398 MB / 0.6883 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.61, allocations: 86.31 kB / 0.6884 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.6103, allocations: 140.2 kB / 0.6885 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.6141, allocations: 1.753 MB / 0.6902 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.6141, allocations: 0 / 0.6902 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.6142, allocations: 40 kB / 0.6903 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.6143, allocations: 24 kB / 0.6903 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/0.6183, allocations: 1.842 MB / 0.6921 GB, free: 2.445 MB / 0.5294 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.007698/0.626, allocations: 4.745 MB / 0.6967 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005508/0.6315, allocations: 2.475 MB / 0.6991 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.6334, allocations: 1.088 MB / 0.7002 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04425/0.6777, allocations: 20.15 MB / 0.7199 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.6777, allocations: 60.56 kB / 0.7199 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 3.457e-06/0.6778, allocations: 0 / 0.7199 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01439/0.6922, allocations: 6.328 MB / 0.7261 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.6922, allocations: 73.41 kB / 0.7262 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.6927, allocations: 385.7 kB / 0.7265 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.6929, allocations: 65.7 kB / 0.7266 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.6931, allocations: 211.5 kB / 0.7268 GB, free: 12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007528/0.6938, allocations: 0.7706 MB / 0.7276 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005526/0.6944, allocations: 343.6 kB / 0.7279 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.6946, allocations: 341.9 kB / 0.7282 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.6962, allocations: 0.9369 MB / 0.7291 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.698, allocations: 1.091 MB / 0.7302 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/0.7015, allocations: 2.157 MB / 0.7323 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.7015, allocations: 0 / 0.7323 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005455/0.7069, allocations: 3.258 MB / 0.7355 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.707, allocations: 11.84 kB / 0.7355 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.707, allocations: 4 kB / 0.7355 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/0.7188, allocations: 2.657 MB / 0.7381 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.7199, allocations: 239.7 kB / 0.7383 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006692/0.7266, allocations: 4.103 MB / 0.7423 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.7277, allocations: 150.9 kB / 0.7425 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.7279, allocations: 72.02 kB / 0.7425 GB, free: 11.82 MB / 0.5919 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.0005654/0.7285, allocations: 337.6 kB / 0.7429 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.7288, allocations: 115.3 kB / 0.743 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/0.7424, allocations: 8.936 MB / 0.7517 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001511/0.7426, allocations: 111.8 kB / 0.7518 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-05/0.7427, allocations: 4 kB / 0.7518 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.164e-05/0.7427, allocations: 11.95 kB / 0.7518 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2336/0.9763, allocations: 10.69 MB / 0.7623 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/0.9764, allocations: 1.297 kB / 0.7623 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/0.9792, allocations: 0.5072 MB / 0.7628 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005029/0.9843, allocations: 2.13 MB / 0.7648 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004477/0.9848, allocations: 82.52 kB / 0.7649 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.9974, allocations: 20.65 MB / 0.7851 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.9975, allocations: 4 kB / 0.7851 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/1.011, allocations: 9.713 MB / 0.7946 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009325/1.012, allocations: 0.665 MB / 0.7952 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/1.012, allocations: 78.86 kB / 0.7953 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/1.013, allocations: 87.61 kB / 0.7954 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/1.014, allocations: 173.5 kB / 0.7955 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/1.014, allocations: 81.2 kB / 0.7956 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003576/1.014, allocations: 377.8 kB / 0.796 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/1.014, allocations: 0 / 0.796 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002802/1.017, allocations: 1.275 MB / 0.7972 GB, free: 190 MB / 0.5919 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.01283/1.03, allocations: 9.96 MB / 0.807 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006794/1.037, allocations: 3.981 MB / 0.8108 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.037, allocations: 0 / 0.8108 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004692/1.042, allocations: 3.767 MB / 0.8145 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003462/1.045, allocations: 0.7968 MB / 0.8153 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02425/1.069, allocations: 19.21 MB / 0.8341 GB, free: 157.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008488/1.07, allocations: 1.647 MB / 0.8357 GB, free: 156.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001118/1.071, allocations: 414.3 kB / 0.8361 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008194/1.072, allocations: 0.7921 MB / 0.8368 GB, free: 154.9 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/1.072, allocations: 3.938 kB / 0.8368 GB, free: 154.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1381/1.21, allocations: 99.16 MB / 0.9337 GB, free: 55.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.51/21.72, allocations: 17.11 kB / 0.9337 GB, free: 55.54 MB / 0.5919 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)