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.001327/0.001326, allocations: 107.8 kB / 17.06 MB, free: 6.016 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.001688/0.001688, allocations: 189.4 kB / 18 MB, free: 5.102 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.533/1.533, 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.3072/0.3072, allocations: 48.85 MB / 320.1 MB, free: 11.01 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.00221/0.002211, allocations: 71.89 kB / 450 MB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1258, allocations: 59.16 MB / 0.4973 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.4348/0.5607, allocations: 160.8 MB / 0.6543 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.5742, allocations: 9.915 MB / 0.664 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.5747, allocations: 7.938 kB / 0.664 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.5753, allocations: 107.3 kB / 0.6641 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006346/0.5817, allocations: 2.095 MB / 0.6661 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007995/0.5897, allocations: 2.591 MB / 0.6686 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00259/0.5923, allocations: 2.22 MB / 0.6708 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.5935, allocations: 0.63 MB / 0.6714 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.5946, allocations: 0.694 MB / 0.6721 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003678/0.5982, allocations: 1.554 MB / 0.6736 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.5985, allocations: 116 kB / 0.6737 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/0.6104, allocations: 5.959 MB / 0.6796 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000905/0.6114, allocations: 0.6197 MB / 0.6802 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.6125, allocations: 0.6965 MB / 0.6808 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.6241, allocations: 4.508 MB / 0.6852 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.6242, allocations: 4 kB / 0.6852 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6242, allocations: 0 / 0.6852 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.792e-05/0.6242, allocations: 0 / 0.6852 GB, free: 9.555 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.006244/0.6305, allocations: 2.032 MB / 0.6872 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.6305, allocations: 11.89 kB / 0.6872 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002057/0.6307, allocations: 152.8 kB / 0.6874 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/0.6333, allocations: 288.1 kB / 0.6877 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.6344, allocations: 0.6593 MB / 0.6883 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.6345, allocations: 74.38 kB / 0.6884 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/0.6347, allocations: 136.2 kB / 0.6885 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003891/0.6386, allocations: 1.761 MB / 0.6902 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.6387, allocations: 9.188 kB / 0.6902 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.6388, allocations: 36 kB / 0.6903 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.6389, allocations: 27.98 kB / 0.6903 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004008/0.6429, allocations: 1.838 MB / 0.6921 GB, free: 2.422 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.007697/0.6506, allocations: 4.741 MB / 0.6967 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005359/0.656, allocations: 2.476 MB / 0.6991 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.6578, allocations: 1.088 MB / 0.7002 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04509/0.7029, allocations: 20.15 MB / 0.7199 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.497e-05/0.703, allocations: 53.25 kB / 0.7199 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 4.108e-06/0.703, allocations: 0 / 0.7199 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01617/0.7192, allocations: 6.332 MB / 0.7261 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.7193, allocations: 77.34 kB / 0.7262 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000512/0.7198, allocations: 389.7 kB / 0.7266 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.7201, allocations: 61.7 kB / 0.7266 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.7203, allocations: 211.5 kB / 0.7268 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008836/0.7212, allocations: 0.7667 MB / 0.7276 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006992/0.7219, allocations: 339.6 kB / 0.7279 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.7221, allocations: 341.9 kB / 0.7282 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.7238, allocations: 0.9369 MB / 0.7291 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.7258, allocations: 1.095 MB / 0.7302 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003807/0.7296, allocations: 2.157 MB / 0.7323 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.7296, allocations: 4.875 kB / 0.7323 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006021/0.7357, allocations: 3.254 MB / 0.7355 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.7357, allocations: 7.906 kB / 0.7355 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.7357, allocations: 0 / 0.7355 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01292/0.7487, allocations: 2.67 MB / 0.7381 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.75, allocations: 239.7 kB / 0.7383 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008369/0.7584, allocations: 4.099 MB / 0.7423 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.7598, allocations: 154.9 kB / 0.7425 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003058/0.7601, allocations: 71.97 kB / 0.7426 GB, free: 11.79 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.000915/0.7611, allocations: 337.6 kB / 0.7429 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004561/0.7615, allocations: 111.3 kB / 0.743 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/0.7765, allocations: 8.924 MB / 0.7517 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001475/0.7767, allocations: 111.8 kB / 0.7518 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-05/0.7768, allocations: 4 kB / 0.7518 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-05/0.7769, allocations: 15.94 kB / 0.7518 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2561/1.033, allocations: 10.69 MB / 0.7623 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-05/1.033, allocations: 0 / 0.7623 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002783/1.036, allocations: 0.5133 MB / 0.7628 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005444/1.041, allocations: 2.134 MB / 0.7648 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006631/1.042, allocations: 77.81 kB / 0.7649 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01397/1.056, allocations: 20.65 MB / 0.7851 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.056, allocations: 0 / 0.7851 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/1.072, allocations: 9.719 MB / 0.7946 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.073, allocations: 0.6628 MB / 0.7952 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/1.073, allocations: 76.03 kB / 0.7953 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.074, allocations: 85.06 kB / 0.7954 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004015/1.075, allocations: 178.3 kB / 0.7956 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.075, allocations: 81.08 kB / 0.7956 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003984/1.075, allocations: 373 kB / 0.796 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.11e-07/1.075, allocations: 0 / 0.796 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003675/1.079, allocations: 1.278 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.01406/1.093, allocations: 9.966 MB / 0.807 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006903/1.1, allocations: 3.977 MB / 0.8108 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.1, allocations: 0 / 0.8108 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004758/1.105, allocations: 3.779 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.003491/1.108, allocations: 0.785 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.02418/1.132, allocations: 19.22 MB / 0.8341 GB, free: 157.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/1.133, allocations: 1.647 MB / 0.8357 GB, free: 156.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00113/1.134, allocations: 418.3 kB / 0.8361 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008638/1.135, allocations: 0.7883 MB / 0.8368 GB, free: 154.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.854e-06/1.135, allocations: 0 / 0.8368 GB, free: 154.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1472/1.282, allocations: 99.16 MB / 0.9337 GB, free: 55.53 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.73/21.02, allocations: 9.109 kB / 0.9337 GB, free: 55.52 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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking_res.csv --start-time -50 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1)