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.000845/0.000845, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.0009052/0.0009053, allocations: 184.5 kB / 17.56 MB, free: 6.203 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.136/1.136, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2283/0.2283, allocations: 48.77 MB / 320.8 MB, free: 11.11 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.0004463/0.0004463, allocations: 18.45 kB / 391.9 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07446/0.07492, allocations: 60.26 MB / 452.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3054/0.3804, allocations: 157.4 MB / 0.5953 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009614/0.39, allocations: 10.45 MB / 0.6055 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.3903, allocations: 6.781 kB / 0.6055 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.3906, allocations: 83.27 kB / 0.6056 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.3944, allocations: 1.677 MB / 0.6073 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005026/0.3994, allocations: 2.118 MB / 0.6093 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.4013, allocations: 2.636 MB / 0.6119 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.4017, allocations: 0.5486 MB / 0.6124 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.4022, allocations: 0.6117 MB / 0.613 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.4046, allocations: 1.608 MB / 0.6146 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.4047, allocations: 60.53 kB / 0.6147 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008162/0.4129, allocations: 5.851 MB / 0.6204 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005248/0.4134, allocations: 0.5714 MB / 0.6209 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006585/0.4141, allocations: 0.6531 MB / 0.6216 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005555/0.4197, allocations: 4.443 MB / 0.6259 GB, free: 12.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4197, allocations: 3.938 kB / 0.6259 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4197, allocations: 0 / 0.6259 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.4197, allocations: 0 / 0.6259 GB, free: 12.49 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.004693/0.4244, allocations: 1.771 MB / 0.6276 GB, free: 10.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4245, allocations: 8.031 kB / 0.6276 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.4247, allocations: 156.2 kB / 0.6278 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/0.4269, allocations: 283.5 kB / 0.6281 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.4277, allocations: 0.6396 MB / 0.6287 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.4278, allocations: 78.38 kB / 0.6288 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.428, allocations: 140.1 kB / 0.6289 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.4311, allocations: 1.761 MB / 0.6306 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.4311, allocations: 3.984 kB / 0.6306 GB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.4313, allocations: 44 kB / 0.6307 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.4313, allocations: 24 kB / 0.6307 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.4345, allocations: 1.85 MB / 0.6325 GB, free: 5.625 MB / 446.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.005789/0.4403, allocations: 4.721 MB / 0.6371 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004537/0.4448, allocations: 2.485 MB / 0.6395 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4463, allocations: 1.096 MB / 0.6406 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03865/0.485, allocations: 20.25 MB / 0.6604 GB, free: 6.613 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.4851, allocations: 56.56 kB / 0.6604 GB, free: 6.551 MB / 478.1 MB Notification: Performance of pre-optimization done (n=207): time 3.827e-06/0.4851, allocations: 0 / 0.6604 GB, free: 6.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=207): time 0.01348/0.4986, allocations: 6.37 MB / 0.6667 GB, free: 15.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.4986, allocations: 73.41 kB / 0.6667 GB, free: 15.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.499, allocations: 389.6 kB / 0.6671 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.4991, allocations: 73.69 kB / 0.6672 GB, free: 15.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.4993, allocations: 195.5 kB / 0.6674 GB, free: 15.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005388/0.4998, allocations: 0.7354 MB / 0.6681 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.5001, allocations: 157.6 kB / 0.6682 GB, free: 14.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5002, allocations: 341.9 kB / 0.6685 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.5016, allocations: 0.9408 MB / 0.6695 GB, free: 12.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.503, allocations: 1.103 MB / 0.6705 GB, free: 11.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003005/0.506, allocations: 2.172 MB / 0.6727 GB, free: 9.562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5061, allocations: 0 / 0.6727 GB, free: 9.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004733/0.5108, allocations: 3.253 MB / 0.6758 GB, free: 6.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.5108, allocations: 8 kB / 0.6758 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5108, allocations: 7.938 kB / 0.6759 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01136/0.5222, allocations: 2.674 MB / 0.6785 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.5233, allocations: 239.7 kB / 0.6787 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.5291, allocations: 4.107 MB / 0.6827 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.5302, allocations: 162.5 kB / 0.6829 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.5304, allocations: 75.91 kB / 0.6829 GB, free: 15 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.0004934/0.5309, allocations: 333.6 kB / 0.6833 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.531, allocations: 110.8 kB / 0.6834 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.5422, allocations: 8.962 MB / 0.6921 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.221e-05/0.5423, allocations: 111.8 kB / 0.6922 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.5423, allocations: 4 kB / 0.6922 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/0.5424, allocations: 15.94 kB / 0.6922 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.5553, allocations: 10.69 MB / 0.7027 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.5554, allocations: 48 / 0.7027 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/0.5578, allocations: 0.5151 MB / 0.7032 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004865/0.5627, allocations: 2.211 MB / 0.7053 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.5629, allocations: 79.94 kB / 0.7054 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.5764, allocations: 19.73 MB / 0.7247 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5764, allocations: 0 / 0.7247 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.171/0.7475, allocations: 9.709 MB / 0.7342 GB, free: 205.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009015/0.7484, allocations: 0.6988 MB / 0.7348 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.7486, allocations: 66.5 kB / 0.7349 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009773/0.7496, allocations: 98.14 kB / 0.735 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/0.75, allocations: 173 kB / 0.7352 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.7501, allocations: 79.78 kB / 0.7352 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003854/0.7505, allocations: 374 kB / 0.7356 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7505, allocations: 0 / 0.7356 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002698/0.7532, allocations: 1.267 MB / 0.7368 GB, free: 204.4 MB / 0.5294 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.01351/0.7667, allocations: 9.966 MB / 0.7466 GB, free: 200.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006246/0.773, allocations: 3.947 MB / 0.7504 GB, free: 199 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.773, allocations: 0 / 0.7504 GB, free: 199 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003958/0.777, allocations: 3.765 MB / 0.7541 GB, free: 196.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/0.7802, allocations: 0.7733 MB / 0.7549 GB, free: 196.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/0.8015, allocations: 21.09 MB / 0.7754 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.8022, allocations: 1.655 MB / 0.7771 GB, free: 176 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001028/0.8032, allocations: 410.3 kB / 0.7775 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007059/0.8039, allocations: 0.7921 MB / 0.7782 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.8039, allocations: 0 / 0.7782 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09374/0.8977, allocations: 95.12 MB / 0.8711 GB, free: 79.49 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001233/0.8978, allocations: 240.1 kB / 0.8713 GB, free: 79.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.951/5.849, allocations: 0 / 0.8713 GB, free: 79.23 MB / 0.5294 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)