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.0009809/0.0009809, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001029/0.001029, allocations: 190 kB / 17.54 MB, free: 6.066 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.141/1.141, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2246/0.2246, allocations: 48.84 MB / 319.6 MB, free: 11.27 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.001329/0.001329, allocations: 69.16 kB / 389.7 MB, free: 48.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07244/0.07378, allocations: 59.16 MB / 448.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3024/0.3762, allocations: 158.9 MB / 0.5935 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009251/0.3855, allocations: 9.993 MB / 0.6033 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.3858, allocations: 5.656 kB / 0.6033 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.3861, allocations: 83.45 kB / 0.6034 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003961/0.3901, allocations: 1.868 MB / 0.6052 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005069/0.3951, allocations: 2.284 MB / 0.6074 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.3967, allocations: 2.012 MB / 0.6094 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000502/0.3972, allocations: 0.5267 MB / 0.6099 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.3977, allocations: 0.6101 MB / 0.6105 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.3998, allocations: 1.554 MB / 0.612 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.3999, allocations: 105.1 kB / 0.6121 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007829/0.4078, allocations: 5.861 MB / 0.6178 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004931/0.4083, allocations: 0.569 MB / 0.6184 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009417/0.4092, allocations: 0.6342 MB / 0.619 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006546/0.4158, allocations: 4.385 MB / 0.6233 GB, free: 7.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4158, allocations: 0 / 0.6233 GB, free: 7.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4158, allocations: 0 / 0.6233 GB, free: 7.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.267e-05/0.4159, allocations: 3.938 kB / 0.6233 GB, free: 7.836 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.004612/0.4205, allocations: 1.837 MB / 0.6251 GB, free: 5.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4205, allocations: 11.89 kB / 0.6251 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.4207, allocations: 156.2 kB / 0.6252 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/0.4232, allocations: 275.5 kB / 0.6255 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.424, allocations: 0.6122 MB / 0.6261 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.424, allocations: 66.38 kB / 0.6262 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.4242, allocations: 92.38 kB / 0.6263 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.4273, allocations: 1.659 MB / 0.6279 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.4273, allocations: 7.938 kB / 0.6279 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.4274, allocations: 40.81 kB / 0.6279 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.4274, allocations: 24 kB / 0.6279 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.4305, allocations: 1.686 MB / 0.6296 GB, free: 1.23 MB / 446.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.005793/0.4363, allocations: 5.614 MB / 0.6351 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.4398, allocations: 2.034 MB / 0.6371 GB, free: 9.211 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.441, allocations: 0.967 MB / 0.638 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03687/0.4779, allocations: 20.05 MB / 0.6576 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.478, allocations: 49.19 kB / 0.6576 GB, free: 1.934 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 3.406e-06/0.478, allocations: 0 / 0.6576 GB, free: 1.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=180): time 0.06287/0.5409, allocations: 14.67 MB / 0.672 GB, free: 3.215 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.5409, allocations: 73.41 kB / 0.672 GB, free: 3.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.5414, allocations: 441.9 kB / 0.6724 GB, free: 2.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.5415, allocations: 53.7 kB / 0.6725 GB, free: 2.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.5417, allocations: 269.8 kB / 0.6728 GB, free: 2.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000438/0.5421, allocations: 0.6122 MB / 0.6734 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/0.5426, allocations: 295.5 kB / 0.6736 GB, free: 1.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5427, allocations: 337.9 kB / 0.674 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.5438, allocations: 0.7417 MB / 0.6747 GB, free: 380 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.5451, allocations: 0.9562 MB / 0.6756 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002565/0.5477, allocations: 1.878 MB / 0.6774 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5477, allocations: 0 / 0.6774 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004296/0.552, allocations: 2.746 MB / 0.6801 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.552, allocations: 11.98 kB / 0.6801 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5521, allocations: 4 kB / 0.6801 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009716/0.5618, allocations: 2.259 MB / 0.6824 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.5624, allocations: 165 kB / 0.6825 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004965/0.5674, allocations: 3.537 MB / 0.686 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/0.5683, allocations: 138.5 kB / 0.6861 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.5684, allocations: 71.97 kB / 0.6862 GB, free: 4.465 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.0004325/0.5689, allocations: 325.5 kB / 0.6865 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.5691, allocations: 98.88 kB / 0.6866 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/0.5795, allocations: 9.385 MB / 0.6957 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.591e-05/0.5796, allocations: 115.8 kB / 0.6958 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5796, allocations: 0 / 0.6958 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.5796, allocations: 11.95 kB / 0.6959 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.5903, allocations: 10.78 MB / 0.7064 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5903, allocations: 0.5625 kB / 0.7064 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.5908, allocations: 111.9 kB / 0.7065 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01085/0.6016, allocations: 4.884 MB / 0.7113 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.6018, allocations: 47.97 kB / 0.7113 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008598/0.6104, allocations: 7.878 MB / 0.719 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6104, allocations: 0 / 0.719 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008125/0.6185, allocations: 7.542 MB / 0.7264 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007227/0.6193, allocations: 0.6097 MB / 0.727 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.6195, allocations: 55.75 kB / 0.727 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008892/0.6204, allocations: 91.72 kB / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.6207, allocations: 137.8 kB / 0.7272 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.6208, allocations: 71.98 kB / 0.7273 GB, free: 9.914 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004313/0.6212, allocations: 414.8 kB / 0.7277 GB, free: 9.508 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6212, allocations: 0 / 0.7277 GB, free: 9.508 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002553/0.6238, allocations: 1.195 MB / 0.7289 GB, free: 8.312 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.01078/0.6346, allocations: 7.443 MB / 0.7361 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.1469/0.7815, allocations: 4.205 MB / 0.7402 GB, free: 227.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.7815, allocations: 0 / 0.7402 GB, free: 227.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004376/0.7859, allocations: 2.742 MB / 0.7429 GB, free: 226.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/0.7892, allocations: 0.7536 MB / 0.7436 GB, free: 226.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/0.8114, allocations: 16.82 MB / 0.7601 GB, free: 218.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/0.8122, allocations: 1.591 MB / 0.7616 GB, free: 217.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008423/0.813, allocations: 379.7 kB / 0.762 GB, free: 217.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/0.8135, allocations: 0.7086 MB / 0.7627 GB, free: 216.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.8136, allocations: 4 kB / 0.7627 GB, free: 216.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08989/0.9035, allocations: 91.48 MB / 0.852 GB, free: 127.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.9036, allocations: 228 kB / 0.8522 GB, free: 127.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.822/5.726, allocations: 3.938 kB / 0.8522 GB, free: 127.4 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)