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.001187/0.001187, allocations: 108.1 kB / 16.51 MB, free: 6.707 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.001129/0.001129, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.154/1.154, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.237/0.237, allocations: 48.84 MB / 319.5 MB, free: 11.31 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.001305/0.001305, allocations: 62 kB / 389.5 MB, free: 48.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07798/0.07929, allocations: 59.18 MB / 448.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3206/0.3999, allocations: 159.5 MB / 0.5939 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.4103, allocations: 10.63 MB / 0.6043 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.4107, allocations: 5.75 kB / 0.6043 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.411, allocations: 83.08 kB / 0.6043 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.4148, allocations: 1.676 MB / 0.606 GB, free: 4.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005256/0.4201, allocations: 2.107 MB / 0.608 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.4221, allocations: 2.432 MB / 0.6104 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00052/0.4227, allocations: 469.4 kB / 0.6109 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005142/0.4232, allocations: 0.52 MB / 0.6114 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.4259, allocations: 1.523 MB / 0.6129 GB, free: 308 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.426, allocations: 52.09 kB / 0.6129 GB, free: 308 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009234/0.4352, allocations: 5.85 MB / 0.6186 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004688/0.4357, allocations: 0.5065 MB / 0.6191 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006504/0.4364, allocations: 0.5913 MB / 0.6197 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00559/0.442, allocations: 4.346 MB / 0.6239 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.442, allocations: 0 / 0.6239 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.442, allocations: 0 / 0.6239 GB, free: 7.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.442, allocations: 0 / 0.6239 GB, free: 7.23 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.004188/0.4462, allocations: 1.84 MB / 0.6257 GB, free: 5.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4463, allocations: 12.03 kB / 0.6257 GB, free: 5.328 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.4464, allocations: 160.1 kB / 0.6259 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.4488, allocations: 283.5 kB / 0.6262 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.4495, allocations: 0.5966 MB / 0.6268 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.4496, allocations: 70.38 kB / 0.6268 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.4497, allocations: 96.31 kB / 0.6269 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.4527, allocations: 1.659 MB / 0.6285 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.4527, allocations: 7.938 kB / 0.6285 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.4528, allocations: 40 kB / 0.6286 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.4529, allocations: 24 kB / 0.6286 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.4559, allocations: 1.678 MB / 0.6302 GB, free: 0.6289 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.006165/0.4621, allocations: 5.617 MB / 0.6357 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.4656, allocations: 2.034 MB / 0.6377 GB, free: 8.605 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.4669, allocations: 0.9632 MB / 0.6387 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03762/0.5045, allocations: 20.06 MB / 0.6582 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.5046, allocations: 61.17 kB / 0.6583 GB, free: 1.309 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 2.965e-06/0.5046, allocations: 0 / 0.6583 GB, free: 1.309 MB / 478.1 MB Notification: Performance of matching and sorting (n=180): time 0.06067/0.5653, allocations: 14.66 MB / 0.6726 GB, free: 2.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.5654, allocations: 69.41 kB / 0.6727 GB, free: 2.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.5658, allocations: 441.9 kB / 0.6731 GB, free: 2.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-05/0.566, allocations: 57.69 kB / 0.6732 GB, free: 2.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.5661, allocations: 261.9 kB / 0.6734 GB, free: 1.762 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004713/0.5666, allocations: 0.6121 MB / 0.674 GB, free: 1.145 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004041/0.567, allocations: 291.5 kB / 0.6743 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5671, allocations: 346 kB / 0.6746 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.5683, allocations: 0.7379 MB / 0.6753 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.5696, allocations: 0.9548 MB / 0.6763 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/0.5722, allocations: 1.874 MB / 0.6781 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.5722, allocations: 0 / 0.6781 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00436/0.5766, allocations: 2.754 MB / 0.6808 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.5766, allocations: 8 kB / 0.6808 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5767, allocations: 4 kB / 0.6808 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009923/0.5866, allocations: 2.245 MB / 0.683 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.5873, allocations: 163.8 kB / 0.6831 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005088/0.5924, allocations: 3.529 MB / 0.6866 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008524/0.5932, allocations: 142.5 kB / 0.6867 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.5934, allocations: 71.97 kB / 0.6868 GB, free: 3.883 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.0004573/0.5939, allocations: 325.5 kB / 0.6871 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.5941, allocations: 110.8 kB / 0.6872 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.6048, allocations: 9.379 MB / 0.6964 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.435e-05/0.6049, allocations: 115.8 kB / 0.6965 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6049, allocations: 0 / 0.6965 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.6049, allocations: 23.88 kB / 0.6965 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.6161, allocations: 10.77 MB / 0.707 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.6162, allocations: 0 / 0.707 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.6167, allocations: 115.9 kB / 0.7071 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01188/0.6286, allocations: 5 MB / 0.712 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.6287, allocations: 51.98 kB / 0.7121 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008786/0.6375, allocations: 7.874 MB / 0.7198 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6376, allocations: 0 / 0.7198 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008225/0.6458, allocations: 7.538 MB / 0.7271 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007177/0.6465, allocations: 0.6059 MB / 0.7277 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.6467, allocations: 59.75 kB / 0.7278 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007862/0.6475, allocations: 83.72 kB / 0.7278 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.6477, allocations: 137.8 kB / 0.728 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.6479, allocations: 75.97 kB / 0.728 GB, free: 9.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004262/0.6483, allocations: 410.8 kB / 0.7284 GB, free: 8.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6483, allocations: 4 kB / 0.7284 GB, free: 8.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002547/0.6509, allocations: 1.191 MB / 0.7296 GB, free: 7.605 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.0108/0.6617, allocations: 7.455 MB / 0.7369 GB, free: 56 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.1469/0.8086, allocations: 3.38 MB / 0.7402 GB, free: 227.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8086, allocations: 0 / 0.7402 GB, free: 227.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004183/0.8128, allocations: 2.693 MB / 0.7428 GB, free: 226.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/0.8159, allocations: 0.7365 MB / 0.7435 GB, free: 226.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/0.8367, allocations: 16.8 MB / 0.7599 GB, free: 218.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.8374, allocations: 1.591 MB / 0.7615 GB, free: 217.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008615/0.8382, allocations: 397.9 kB / 0.7619 GB, free: 217.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/0.8388, allocations: 0.7092 MB / 0.7626 GB, free: 216.8 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.8388, allocations: 0 / 0.7626 GB, free: 216.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08389/0.9227, allocations: 89.06 MB / 0.8495 GB, free: 130.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.9229, allocations: 231.9 kB / 0.8498 GB, free: 130 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.648/5.571, allocations: 0 / 0.8498 GB, free: 130 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)