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.001068/0.001068, allocations: 114 kB / 17.06 MB, free: 6.004 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.001093/0.001093, allocations: 198.9 kB / 18 MB, free: 5.082 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.252/1.252, 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.2504/0.2504, allocations: 48.84 MB / 320.1 MB, free: 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.00153/0.00153, allocations: 71.91 kB / 450 MB, free: 9.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1081, allocations: 59.16 MB / 0.4973 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3862/0.4944, allocations: 160.8 MB / 0.6543 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.5051, allocations: 9.921 MB / 0.664 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.5054, allocations: 11.88 kB / 0.664 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.5059, allocations: 99.27 kB / 0.6641 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004757/0.5106, allocations: 2.091 MB / 0.6661 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006687/0.5173, allocations: 2.595 MB / 0.6686 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.5199, allocations: 2.224 MB / 0.6708 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.5211, allocations: 0.6254 MB / 0.6714 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009953/0.5221, allocations: 0.694 MB / 0.6721 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/0.5252, allocations: 1.55 MB / 0.6736 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.5255, allocations: 120 kB / 0.6737 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.5355, allocations: 5.967 MB / 0.6796 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007065/0.5363, allocations: 0.6236 MB / 0.6802 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.5375, allocations: 0.6889 MB / 0.6808 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008137/0.5456, allocations: 4.498 MB / 0.6852 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.5457, allocations: 3.984 kB / 0.6852 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.066e-06/0.5457, allocations: 0 / 0.6852 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.408e-05/0.5457, allocations: 0 / 0.6852 GB, free: 9.539 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.006909/0.5527, allocations: 1.989 MB / 0.6872 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.5527, allocations: 15.89 kB / 0.6872 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004372/0.5532, allocations: 152.2 kB / 0.6873 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.556, allocations: 287.4 kB / 0.6876 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.5575, allocations: 0.6395 MB / 0.6882 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.83e-05/0.5576, allocations: 82.38 kB / 0.6883 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003557/0.558, allocations: 130.4 kB / 0.6884 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/0.5615, allocations: 1.765 MB / 0.6902 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.5615, allocations: 0 / 0.6902 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.5617, allocations: 40 kB / 0.6902 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.5617, allocations: 24 kB / 0.6902 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003494/0.5652, allocations: 1.842 MB / 0.692 GB, free: 2.469 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.007161/0.5724, allocations: 4.728 MB / 0.6966 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004904/0.5773, allocations: 2.484 MB / 0.6991 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.5788, allocations: 1.088 MB / 0.7001 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04358/0.6224, allocations: 20.15 MB / 0.7198 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.6225, allocations: 56.56 kB / 0.7199 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 4.358e-06/0.6225, allocations: 0 / 0.7199 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01506/0.6376, allocations: 6.331 MB / 0.726 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.6377, allocations: 73.41 kB / 0.7261 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.6381, allocations: 385.7 kB / 0.7265 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.6384, allocations: 61.7 kB / 0.7265 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.6385, allocations: 215.3 kB / 0.7267 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007182/0.6392, allocations: 0.7315 MB / 0.7275 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005966/0.6399, allocations: 347.6 kB / 0.7278 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.64, allocations: 337.9 kB / 0.7281 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.6415, allocations: 0.9369 MB / 0.729 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.6432, allocations: 1.095 MB / 0.7301 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/0.6468, allocations: 2.161 MB / 0.7322 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.6469, allocations: 0 / 0.7322 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005452/0.6523, allocations: 3.25 MB / 0.7354 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.6524, allocations: 7.906 kB / 0.7354 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6524, allocations: 7.938 kB / 0.7354 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01218/0.6646, allocations: 2.658 MB / 0.738 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.6659, allocations: 243.7 kB / 0.7382 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007858/0.6737, allocations: 4.099 MB / 0.7422 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.6751, allocations: 154.4 kB / 0.7424 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/0.6754, allocations: 71.97 kB / 0.7424 GB, free: 11.88 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.0007115/0.6761, allocations: 329.6 kB / 0.7428 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.6765, allocations: 106.8 kB / 0.7429 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.6892, allocations: 8.907 MB / 0.7516 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.754e-05/0.6893, allocations: 119.8 kB / 0.7517 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/0.6893, allocations: 0 / 0.7517 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/0.6893, allocations: 11.95 kB / 0.7517 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2155/0.9048, allocations: 10.68 MB / 0.7621 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.9049, allocations: 0.9688 kB / 0.7621 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/0.9075, allocations: 0.513 MB / 0.7626 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004857/0.9123, allocations: 2.127 MB / 0.7647 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003677/0.9127, allocations: 84.33 kB / 0.7648 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/0.9253, allocations: 20.65 MB / 0.7849 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9253, allocations: 0.5 kB / 0.7849 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/0.9397, allocations: 9.701 MB / 0.7944 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.941, allocations: 0.6537 MB / 0.795 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.9413, allocations: 77.44 kB / 0.7951 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.9424, allocations: 88.64 kB / 0.7952 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/0.9428, allocations: 172 kB / 0.7954 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.9429, allocations: 81.52 kB / 0.7954 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004072/0.9434, allocations: 376.8 kB / 0.7958 GB, free: 190 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9434, allocations: 3.719 kB / 0.7958 GB, free: 190 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004026/0.9474, allocations: 1.263 MB / 0.797 GB, free: 189.9 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.01348/0.9609, allocations: 9.94 MB / 0.8067 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007009/0.9679, allocations: 3.985 MB / 0.8106 GB, free: 182 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.968, allocations: 0 / 0.8106 GB, free: 182 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004813/0.9728, allocations: 3.771 MB / 0.8143 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/0.9761, allocations: 0.7857 MB / 0.8151 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/0.9988, allocations: 19.13 MB / 0.8338 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.9996, allocations: 1.647 MB / 0.8354 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001012/1.001, allocations: 410.4 kB / 0.8358 GB, free: 156 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000765/1.001, allocations: 0.7921 MB / 0.8365 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/1.001, allocations: 0 / 0.8365 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/1.12, allocations: 98.39 MB / 0.9326 GB, free: 56.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.17/19.29, allocations: 21.09 kB / 0.9326 GB, free: 56.6 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)