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.0008207/0.0008209, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0009198/0.0009198, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2251/0.2251, allocations: 48.78 MB / 320.8 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.0004431/0.0004431, allocations: 13.44 kB / 391.9 MB, free: 50 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07503/0.07548, allocations: 60.27 MB / 452.2 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2996/0.3752, allocations: 157.4 MB / 0.5953 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009488/0.3847, allocations: 10.46 MB / 0.6055 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.3849, allocations: 9.719 kB / 0.6055 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.3852, allocations: 81 kB / 0.6056 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.3888, allocations: 1.677 MB / 0.6072 GB, free: 8.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004156/0.393, allocations: 2.111 MB / 0.6093 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.3946, allocations: 2.443 MB / 0.6117 GB, free: 6.188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004075/0.395, allocations: 455.5 kB / 0.6121 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.3955, allocations: 0.5187 MB / 0.6126 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.3976, allocations: 1.521 MB / 0.6141 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.3977, allocations: 52.56 kB / 0.6142 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007662/0.4053, allocations: 5.849 MB / 0.6199 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.4057, allocations: 0.5141 MB / 0.6204 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005053/0.4062, allocations: 0.6056 MB / 0.621 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.4107, allocations: 4.324 MB / 0.6252 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4107, allocations: 0 / 0.6252 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4107, allocations: 0 / 0.6252 GB, free: 13.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.4107, allocations: 4 kB / 0.6252 GB, free: 13.21 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.00356/0.4143, allocations: 1.638 MB / 0.6268 GB, free: 11.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4143, allocations: 15.97 kB / 0.6268 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.4145, allocations: 150.5 kB / 0.627 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.4167, allocations: 283.4 kB / 0.6272 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007074/0.4174, allocations: 0.6005 MB / 0.6278 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.4174, allocations: 66.38 kB / 0.6279 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.4176, allocations: 96.38 kB / 0.628 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.4204, allocations: 1.667 MB / 0.6296 GB, free: 8.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.4204, allocations: 3.938 kB / 0.6296 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.4205, allocations: 39.98 kB / 0.6296 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.4206, allocations: 24 kB / 0.6297 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002918/0.4235, allocations: 1.698 MB / 0.6313 GB, free: 6.789 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.005681/0.4292, allocations: 5.629 MB / 0.6368 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003351/0.4325, allocations: 2.041 MB / 0.6388 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.4338, allocations: 0.9632 MB / 0.6398 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03813/0.472, allocations: 20.24 MB / 0.6595 GB, free: 7.324 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.472, allocations: 52.56 kB / 0.6596 GB, free: 7.266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 2.956e-06/0.472, allocations: 0 / 0.6596 GB, free: 7.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=180): time 0.06126/0.5333, allocations: 14.74 MB / 0.674 GB, free: 8.488 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.5334, allocations: 69.41 kB / 0.674 GB, free: 8.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.5338, allocations: 445.8 kB / 0.6745 GB, free: 7.961 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/0.5339, allocations: 53.7 kB / 0.6745 GB, free: 7.902 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.5341, allocations: 269.9 kB / 0.6748 GB, free: 7.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.5345, allocations: 0.6122 MB / 0.6754 GB, free: 7.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.5347, allocations: 121.7 kB / 0.6755 GB, free: 6.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5348, allocations: 341.9 kB / 0.6758 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.5359, allocations: 0.7495 MB / 0.6765 GB, free: 5.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.5371, allocations: 0.9626 MB / 0.6775 GB, free: 4.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/0.5395, allocations: 1.886 MB / 0.6793 GB, free: 2.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5396, allocations: 0 / 0.6793 GB, free: 2.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004027/0.5436, allocations: 2.765 MB / 0.682 GB, free: 52 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.5436, allocations: 8 kB / 0.682 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.5436, allocations: 4 kB / 0.682 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009398/0.553, allocations: 2.241 MB / 0.6842 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.5537, allocations: 171.8 kB / 0.6844 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004917/0.5586, allocations: 3.541 MB / 0.6878 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007829/0.5594, allocations: 154.5 kB / 0.688 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.5595, allocations: 67.97 kB / 0.6881 GB, free: 9.844 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.000407/0.5599, allocations: 329.5 kB / 0.6884 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5601, allocations: 98.88 kB / 0.6885 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.5707, allocations: 9.389 MB / 0.6976 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.925e-05/0.5708, allocations: 111.8 kB / 0.6977 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5708, allocations: 3.938 kB / 0.6977 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.5708, allocations: 11.95 kB / 0.6978 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.5815, allocations: 10.78 MB / 0.7083 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.5815, allocations: 4.031 kB / 0.7083 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.582, allocations: 119.9 kB / 0.7084 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01127/0.5933, allocations: 5 MB / 0.7133 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.5934, allocations: 55.98 kB / 0.7133 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008474/0.6019, allocations: 7.889 MB / 0.721 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6019, allocations: 0 / 0.721 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007929/0.6098, allocations: 7.55 MB / 0.7284 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1463/0.7562, allocations: 0.6471 MB / 0.729 GB, free: 210.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.7564, allocations: 45.78 kB / 0.7291 GB, free: 210.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008141/0.7572, allocations: 88.36 kB / 0.7292 GB, free: 210.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.7574, allocations: 134.4 kB / 0.7293 GB, free: 210.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.7576, allocations: 71.84 kB / 0.7294 GB, free: 210.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004066/0.758, allocations: 410.7 kB / 0.7298 GB, free: 210.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.758, allocations: 0 / 0.7298 GB, free: 210.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002452/0.7604, allocations: 1.197 MB / 0.7309 GB, free: 210.6 MB / 0.5294 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.01007/0.7705, allocations: 7.455 MB / 0.7382 GB, free: 208.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005467/0.776, allocations: 3.397 MB / 0.7415 GB, free: 207.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.776, allocations: 0 / 0.7415 GB, free: 207.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003869/0.7799, allocations: 2.713 MB / 0.7442 GB, free: 206.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.7831, allocations: 0.7289 MB / 0.7449 GB, free: 206.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/0.8001, allocations: 16.89 MB / 0.7614 GB, free: 195.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.8008, allocations: 1.588 MB / 0.7629 GB, free: 194.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007321/0.8015, allocations: 398.2 kB / 0.7633 GB, free: 193.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/0.802, allocations: 0.714 MB / 0.764 GB, free: 193 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.802, allocations: 0 / 0.764 GB, free: 193 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08239/0.8844, allocations: 88.54 MB / 0.8505 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.8846, allocations: 235.1 kB / 0.8507 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.666/5.55, allocations: 0 / 0.8507 GB, free: 104.1 MB / 0.5294 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)