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.001553/0.001553, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001854/0.001854, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.966/1.966, allocations: 205.4 MB / 223.3 MB, free: 5.332 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4761/0.4761, allocations: 48.77 MB / 320.4 MB, free: 3.852 MB / 254.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.0008023/0.0008025, allocations: 16 kB / 391.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1736, allocations: 60.25 MB / 451.5 MB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.525/0.6986, allocations: 136.4 MB / 0.5741 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.7155, allocations: 8.554 MB / 0.5824 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006122/0.7161, allocations: 7.938 kB / 0.5824 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.7167, allocations: 83.56 kB / 0.5825 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008226/0.725, allocations: 1.536 MB / 0.584 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.7354, allocations: 2.036 MB / 0.586 GB, free: 8.562 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.738, allocations: 1.318 MB / 0.5873 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.7391, allocations: 0.5348 MB / 0.5878 GB, free: 6.707 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.7405, allocations: 0.5653 MB / 0.5884 GB, free: 6.141 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005328/0.7458, allocations: 1.959 MB / 0.5903 GB, free: 4.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.7462, allocations: 60 kB / 0.5903 GB, free: 4.121 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01819/0.7644, allocations: 5.743 MB / 0.5959 GB, free: 14.37 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.7657, allocations: 0.5106 MB / 0.5964 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006898/0.7664, allocations: 241.2 kB / 0.5967 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00895/0.7754, allocations: 3.042 MB / 0.5996 GB, free: 10.58 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7755, allocations: 0 / 0.5996 GB, free: 10.58 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.7755, allocations: 4 kB / 0.5996 GB, free: 10.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.162e-05/0.7755, allocations: 0 / 0.5996 GB, free: 10.57 MB / 478.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.009977/0.7855, allocations: 1.774 MB / 0.6014 GB, free: 8.754 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.7856, allocations: 8.031 kB / 0.6014 GB, free: 8.746 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006406/0.7863, allocations: 160 kB / 0.6015 GB, free: 8.582 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/0.7915, allocations: 282.5 kB / 0.6018 GB, free: 8.305 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.794, allocations: 0.6346 MB / 0.6024 GB, free: 7.629 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.7941, allocations: 80.12 kB / 0.6025 GB, free: 7.551 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004832/0.7946, allocations: 135.7 kB / 0.6026 GB, free: 7.418 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005395/0.8, allocations: 1.745 MB / 0.6043 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.8001, allocations: 0 / 0.6043 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.8003, allocations: 36 kB / 0.6044 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.8003, allocations: 31.94 kB / 0.6044 GB, free: 5.582 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005739/0.8061, allocations: 1.85 MB / 0.6062 GB, free: 3.73 MB / 478.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.01103/0.8171, allocations: 4.72 MB / 0.6108 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008503/0.8257, allocations: 2.495 MB / 0.6132 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3958/1.222, allocations: 20.25 MB / 0.633 GB, free: 146.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.848e-05/1.222, allocations: 55 kB / 0.6331 GB, free: 146.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=207): time 7.043e-06/1.222, allocations: 0 / 0.6331 GB, free: 146.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=207): time 0.02211/1.244, allocations: 6.358 MB / 0.6393 GB, free: 144.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/1.244, allocations: 74.47 kB / 0.6394 GB, free: 144.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/1.245, allocations: 383.1 kB / 0.6397 GB, free: 144.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005001/1.245, allocations: 63.98 kB / 0.6398 GB, free: 144.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/1.245, allocations: 206.1 kB / 0.64 GB, free: 144.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/1.247, allocations: 0.732 MB / 0.6407 GB, free: 143.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/1.247, allocations: 44.19 kB / 0.6407 GB, free: 143.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/1.247, allocations: 412.8 kB / 0.6411 GB, free: 143.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/1.249, allocations: 0.9391 MB / 0.642 GB, free: 143.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/1.251, allocations: 1.078 MB / 0.6431 GB, free: 142.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/1.254, allocations: 1.109 MB / 0.6442 GB, free: 142.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.254, allocations: 0 / 0.6442 GB, free: 142.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008692/1.263, allocations: 3.241 MB / 0.6473 GB, free: 141.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/1.263, allocations: 10.36 kB / 0.6474 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/1.263, allocations: 1.281 kB / 0.6474 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01842/1.282, allocations: 2.661 MB / 0.65 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/1.284, allocations: 244.4 kB / 0.6502 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.296, allocations: 4.082 MB / 0.6542 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.298, allocations: 165.8 kB / 0.6543 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003416/1.298, allocations: 70.55 kB / 0.6544 GB, free: 139.1 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 117} Notification: Performance of prepare postOptimizeDAE: time 0.001062/1.3, allocations: 332.9 kB / 0.6547 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004425/1.3, allocations: 112.7 kB / 0.6548 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02326/1.323, allocations: 8.944 MB / 0.6636 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002189/1.324, allocations: 117.7 kB / 0.6637 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.007e-05/1.324, allocations: 6.172 kB / 0.6637 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.382e-05/1.324, allocations: 15.28 kB / 0.6637 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/1.345, allocations: 10.65 MB / 0.6741 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.148e-05/1.345, allocations: 3.984 kB / 0.6741 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003966/1.349, allocations: 0.515 MB / 0.6746 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006918/1.356, allocations: 2.201 MB / 0.6767 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007873/1.357, allocations: 83.94 kB / 0.6768 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/1.373, allocations: 19.77 MB / 0.6961 GB, free: 104.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.373, allocations: 0.5625 kB / 0.6961 GB, free: 104.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/1.391, allocations: 9.691 MB / 0.7056 GB, free: 95.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0022/1.394, allocations: 0.7013 MB / 0.7063 GB, free: 94.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005056/1.394, allocations: 71.92 kB / 0.7063 GB, free: 94.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/1.396, allocations: 91.78 kB / 0.7064 GB, free: 94.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005012/1.396, allocations: 173.9 kB / 0.7066 GB, free: 94.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/1.397, allocations: 90.39 kB / 0.7067 GB, free: 93.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006175/1.397, allocations: 366.8 kB / 0.707 GB, free: 93.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.397, allocations: 4 kB / 0.707 GB, free: 93.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005273/1.403, allocations: 1.262 MB / 0.7083 GB, free: 92.39 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(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%) 1} * Non-linear torn systems: 9 {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.02202/1.425, allocations: 9.995 MB / 0.718 GB, free: 82.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01164/1.436, allocations: 3.919 MB / 0.7219 GB, free: 78.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.436, allocations: 0 / 0.7219 GB, free: 78.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008758/1.445, allocations: 3.756 MB / 0.7255 GB, free: 74.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006034/1.451, allocations: 0.7313 MB / 0.7262 GB, free: 73.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03931/1.491, allocations: 15.41 MB / 0.7413 GB, free: 58.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.492, allocations: 1.682 MB / 0.7429 GB, free: 56.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002403/1.495, allocations: 422.3 kB / 0.7433 GB, free: 56.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/1.496, allocations: 0.7921 MB / 0.7441 GB, free: 55.32 MB / 494.1 MB Notification: Performance of SimCode: time 9.71e-07/1.496, allocations: 4 kB / 0.7441 GB, free: 55.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4584/1.954, allocations: 94.23 MB / 0.8361 GB, free: 153 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/1.955, allocations: 214.9 kB / 0.8363 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/9.761, allocations: 0 / 0.8363 GB, free: 152.8 MB / 0.4981 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/linux/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) Environment - environmentSimulation: