Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.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.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",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.000926/0.000926, allocations: 104.5 kB / 16.94 MB, free: 5.797 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.000896/0.0008961, allocations: 187.3 kB / 17.87 MB, free: 5.141 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.132/1.132, allocations: 205.1 MB / 223.7 MB, free: 12.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2319/0.2319, 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.001259/0.001259, allocations: 66.78 kB / 390.2 MB, free: 48.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07494/0.07622, allocations: 59.17 MB / 449.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2977/0.3739, allocations: 160.8 MB / 0.5959 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009467/0.3834, allocations: 9.922 MB / 0.6056 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.3837, allocations: 8.625 kB / 0.6056 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.3841, allocations: 103.4 kB / 0.6057 GB, free: 4.406 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00402/0.3881, allocations: 2.093 MB / 0.6077 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00538/0.3935, allocations: 2.583 MB / 0.6102 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.395, allocations: 1.999 MB / 0.6122 GB, free: 184 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005195/0.3956, allocations: 0.542 MB / 0.6127 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.396, allocations: 0.5915 MB / 0.6133 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.3982, allocations: 1.465 MB / 0.6147 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.3983, allocations: 100.8 kB / 0.6148 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008986/0.4073, allocations: 5.882 MB / 0.6206 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005561/0.4079, allocations: 0.5534 MB / 0.6211 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006976/0.4086, allocations: 0.642 MB / 0.6217 GB, free: 9.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00594/0.4146, allocations: 4.369 MB / 0.626 GB, free: 5.121 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4146, allocations: 0 / 0.626 GB, free: 5.121 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4146, allocations: 0 / 0.626 GB, free: 5.121 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4146, allocations: 0 / 0.626 GB, free: 5.121 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.003749/0.4184, allocations: 1.837 MB / 0.6278 GB, free: 3.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4184, allocations: 11.89 kB / 0.6278 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.4186, allocations: 156.2 kB / 0.628 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.4208, allocations: 279.4 kB / 0.6282 GB, free: 2.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.4216, allocations: 0.6044 MB / 0.6288 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.4216, allocations: 70.38 kB / 0.6289 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.4218, allocations: 92.38 kB / 0.629 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.4246, allocations: 1.667 MB / 0.6306 GB, free: 272 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.4246, allocations: 0 / 0.6306 GB, free: 272 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/0.4247, allocations: 40 kB / 0.6306 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.4247, allocations: 24 kB / 0.6307 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/0.4277, allocations: 1.686 MB / 0.6323 GB, free: 14.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.4337, allocations: 5.61 MB / 0.6378 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/0.4371, allocations: 2.037 MB / 0.6398 GB, free: 6.504 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.4383, allocations: 0.9554 MB / 0.6407 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03521/0.4735, allocations: 20.05 MB / 0.6603 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.4736, allocations: 54.06 kB / 0.6603 GB, free: 15.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 3.136e-06/0.4736, allocations: 0 / 0.6603 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=180): time 0.05654/0.5301, allocations: 14.66 MB / 0.6747 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.5302, allocations: 69.41 kB / 0.6747 GB, free: 444 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.5306, allocations: 449.8 kB / 0.6752 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/0.5307, allocations: 53.7 kB / 0.6752 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.5309, allocations: 269.8 kB / 0.6755 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004285/0.5313, allocations: 0.6161 MB / 0.6761 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.5317, allocations: 291.5 kB / 0.6763 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5318, allocations: 337.9 kB / 0.6767 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.5329, allocations: 0.7417 MB / 0.6774 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.5341, allocations: 0.9509 MB / 0.6783 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.5366, allocations: 1.882 MB / 0.6802 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.5366, allocations: 4 kB / 0.6802 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004034/0.5407, allocations: 2.747 MB / 0.6828 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5407, allocations: 4 kB / 0.6828 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5407, allocations: 8 kB / 0.6828 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009101/0.5498, allocations: 2.239 MB / 0.685 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.5504, allocations: 163.8 kB / 0.6852 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/0.5552, allocations: 3.529 MB / 0.6886 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007549/0.556, allocations: 142.5 kB / 0.6888 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.5561, allocations: 71.97 kB / 0.6888 GB, free: 1.785 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (65): * Single equations (assignments): 64 * 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,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0004244/0.5566, allocations: 329.5 kB / 0.6892 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.5568, allocations: 106.9 kB / 0.6893 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/0.5669, allocations: 9.343 MB / 0.6984 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.682e-05/0.567, allocations: 111.8 kB / 0.6985 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.567, allocations: 11.92 kB / 0.6985 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/0.5671, allocations: 11.95 kB / 0.6985 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.5773, allocations: 10.77 MB / 0.709 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5774, allocations: 0 / 0.709 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.5779, allocations: 119.9 kB / 0.7091 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01006/0.5879, allocations: 4.844 MB / 0.7139 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.5881, allocations: 47.98 kB / 0.7139 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008201/0.5963, allocations: 7.874 MB / 0.7216 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5963, allocations: 7.875 kB / 0.7216 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007786/0.6041, allocations: 7.542 MB / 0.729 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007034/0.6048, allocations: 0.6059 MB / 0.7296 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.605, allocations: 55.75 kB / 0.7296 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/0.6057, allocations: 75.88 kB / 0.7297 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.606, allocations: 133.8 kB / 0.7298 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.6061, allocations: 75.97 kB / 0.7299 GB, free: 7.305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004129/0.6065, allocations: 406.8 kB / 0.7303 GB, free: 6.906 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6065, allocations: 0 / 0.7303 GB, free: 6.906 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002384/0.6089, allocations: 1.199 MB / 0.7315 GB, free: 5.707 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (73): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * 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,147)} Notification: Performance of Backend phase and start with SimCode phase: time 0.158/0.767, allocations: 7.44 MB / 0.7387 GB, free: 223.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005899/0.7729, allocations: 3.431 MB / 0.7421 GB, free: 223.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7729, allocations: 1.562 kB / 0.7421 GB, free: 223.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004025/0.777, allocations: 2.733 MB / 0.7447 GB, free: 223.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/0.7798, allocations: 0.7581 MB / 0.7455 GB, free: 223.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/0.7997, allocations: 15.86 MB / 0.761 GB, free: 216.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/0.8004, allocations: 1.588 MB / 0.7625 GB, free: 215.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000776/0.8012, allocations: 393.9 kB / 0.7629 GB, free: 215.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.8017, allocations: 0.7136 MB / 0.7636 GB, free: 214.4 MB / 0.545 GB Notification: Performance of SimCode: time 9.91e-07/0.8018, allocations: 3.906 kB / 0.7636 GB, free: 214.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0947/0.8965, allocations: 91.6 MB / 0.8531 GB, free: 125.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.14, allocations: 7.984 kB / 0.8531 GB, free: 125.8 MB / 0.545 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic_fmu --startTime=-50 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1)