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.001665/0.001665, allocations: 107.7 kB / 16.92 MB, free: 5.656 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.001849/0.001849, allocations: 189.6 kB / 17.85 MB, free: 5.176 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.216/1.216, allocations: 205.1 MB / 223.7 MB, free: 12.36 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2442/0.2442, allocations: 48.84 MB / 319.9 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.001407/0.001407, allocations: 71.88 kB / 390.2 MB, free: 48.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07098/0.07239, allocations: 59.16 MB / 449.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.2971/0.3695, allocations: 160.8 MB / 0.5958 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009479/0.379, allocations: 9.923 MB / 0.6055 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.3793, allocations: 8.344 kB / 0.6055 GB, free: 4.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.3796, allocations: 99.12 kB / 0.6056 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004186/0.3838, allocations: 2.1 MB / 0.6077 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005692/0.3895, allocations: 2.579 MB / 0.6102 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.3912, allocations: 2.227 MB / 0.6124 GB, free: 196 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005375/0.3917, allocations: 0.6301 MB / 0.613 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000536/0.3923, allocations: 0.6945 MB / 0.6137 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.3947, allocations: 1.553 MB / 0.6152 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.3949, allocations: 117.5 kB / 0.6153 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008108/0.403, allocations: 5.818 MB / 0.621 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004795/0.4035, allocations: 0.6236 MB / 0.6216 GB, free: 9.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.4042, allocations: 0.6889 MB / 0.6222 GB, free: 9.113 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00511/0.4093, allocations: 4.498 MB / 0.6266 GB, free: 4.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4093, allocations: 0 / 0.6266 GB, free: 4.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4093, allocations: 0 / 0.6266 GB, free: 4.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.4094, allocations: 11.98 kB / 0.6266 GB, free: 4.594 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.004887/0.4142, allocations: 1.982 MB / 0.6286 GB, free: 2.559 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4143, allocations: 15.83 kB / 0.6286 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.4145, allocations: 156.2 kB / 0.6287 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.4168, allocations: 284.8 kB / 0.629 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/0.4176, allocations: 0.6434 MB / 0.6296 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.4177, allocations: 86.38 kB / 0.6297 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.4179, allocations: 132.2 kB / 0.6299 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.421, allocations: 1.749 MB / 0.6316 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.421, allocations: 4 kB / 0.6316 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.4212, allocations: 47.92 kB / 0.6316 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.4212, allocations: 24 kB / 0.6316 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00332/0.4245, allocations: 1.842 MB / 0.6334 GB, free: 13.52 MB / 462.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.005958/0.4305, allocations: 4.725 MB / 0.638 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004734/0.4352, allocations: 2.484 MB / 0.6405 GB, free: 6.078 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.4367, allocations: 1.084 MB / 0.6415 GB, free: 4.992 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04072/0.4774, allocations: 20.06 MB / 0.6611 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.4775, allocations: 60.55 kB / 0.6612 GB, free: 14.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=207): time 3.457e-06/0.4775, allocations: 0 / 0.6612 GB, free: 14.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=207): time 0.01388/0.4914, allocations: 6.331 MB / 0.6674 GB, free: 7.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.4914, allocations: 73.41 kB / 0.6674 GB, free: 7.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.4918, allocations: 389.6 kB / 0.6678 GB, free: 7.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.492, allocations: 65.7 kB / 0.6679 GB, free: 7.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.4921, allocations: 203.3 kB / 0.6681 GB, free: 7.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005542/0.4927, allocations: 0.7277 MB / 0.6688 GB, free: 6.445 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000496/0.4932, allocations: 347.5 kB / 0.6691 GB, free: 6.098 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4933, allocations: 341.9 kB / 0.6694 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.4948, allocations: 0.9369 MB / 0.6703 GB, free: 4.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.4965, allocations: 1.095 MB / 0.6714 GB, free: 3.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/0.4998, allocations: 2.157 MB / 0.6735 GB, free: 1.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4998, allocations: 4 kB / 0.6735 GB, free: 1.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005077/0.5049, allocations: 3.249 MB / 0.6767 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5049, allocations: 7.984 kB / 0.6767 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5049, allocations: 0 / 0.6767 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/0.5166, allocations: 2.684 MB / 0.6793 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5178, allocations: 235.7 kB / 0.6796 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006095/0.5239, allocations: 4.095 MB / 0.6836 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.5249, allocations: 162.4 kB / 0.6837 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.5251, allocations: 67.97 kB / 0.6838 GB, free: 7.012 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.0005214/0.5256, allocations: 329.6 kB / 0.6841 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.5259, allocations: 106.8 kB / 0.6842 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.5372, allocations: 8.954 MB / 0.6929 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.748e-05/0.5373, allocations: 115.8 kB / 0.693 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.5373, allocations: 8 kB / 0.693 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.5374, allocations: 11.95 kB / 0.6931 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.5506, allocations: 10.68 MB / 0.7035 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.5506, allocations: 8 kB / 0.7035 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002522/0.5531, allocations: 0.5073 MB / 0.704 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00468/0.5578, allocations: 2.152 MB / 0.7061 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/0.5581, allocations: 83.94 kB / 0.7062 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/0.572, allocations: 20.64 MB / 0.7263 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.572, allocations: 7.922 kB / 0.7263 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1598/0.7318, allocations: 9.691 MB / 0.7358 GB, free: 222.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.733, allocations: 0.6588 MB / 0.7364 GB, free: 222.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003686/0.7333, allocations: 77.06 kB / 0.7365 GB, free: 222.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.7346, allocations: 81.27 kB / 0.7366 GB, free: 222.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003811/0.7349, allocations: 175.2 kB / 0.7368 GB, free: 222.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/0.7351, allocations: 81.55 kB / 0.7368 GB, free: 222.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003909/0.7355, allocations: 377 kB / 0.7372 GB, free: 222 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7355, allocations: 1.812 kB / 0.7372 GB, free: 222 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002914/0.7385, allocations: 1.266 MB / 0.7384 GB, free: 222 MB / 0.545 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.01415/0.7526, allocations: 9.949 MB / 0.7482 GB, free: 219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.017/0.7696, allocations: 6.582 MB / 0.7546 GB, free: 217.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7697, allocations: 0 / 0.7546 GB, free: 217.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004309/0.774, allocations: 3.778 MB / 0.7583 GB, free: 215.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/0.7772, allocations: 0.7959 MB / 0.759 GB, free: 215.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/0.7986, allocations: 19.65 MB / 0.7782 GB, free: 200.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.7993, allocations: 1.643 MB / 0.7798 GB, free: 198.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00106/0.8004, allocations: 406.5 kB / 0.7802 GB, free: 198.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/0.8011, allocations: 0.7921 MB / 0.781 GB, free: 197.3 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.8011, allocations: 3.938 kB / 0.781 GB, free: 197.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.24/3.041, allocations: 98.48 MB / 0.8772 GB, free: 98.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.62/20.66, allocations: 8.062 kB / 0.8772 GB, free: 98.63 MB / 0.545 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)