Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerClosed,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerClosed,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerClosed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 181 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 93.88 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5933/0.5933, allocations: 48.78 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003748, allocations: 8 kB / 438.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1807, allocations: 60.25 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.997/9.178, allocations: 3.313 GB / 3.801 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/9.178, allocations: 85.22 kB / 3.801 GB, free: 114 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.261/10.44, allocations: 339.4 MB / 4.132 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/10.44, allocations: 0 / 4.132 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.962e-05/10.44, allocations: 43.05 kB / 4.132 GB, free: 52.84 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.01093/10.45, allocations: 2.609 MB / 4.135 GB, free: 51.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/10.45, allocations: 9.75 kB / 4.135 GB, free: 51.92 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008273/10.45, allocations: 244 kB / 4.135 GB, free: 51.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/10.45, allocations: 463.1 kB / 4.135 GB, free: 51.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/10.46, allocations: 1.234 MB / 4.137 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.58e-05/10.46, allocations: 125.2 kB / 4.137 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/10.46, allocations: 177.5 kB / 4.137 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008538/10.47, allocations: 3.827 MB / 4.141 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/10.47, allocations: 3.625 kB / 4.141 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/10.47, allocations: 65.75 kB / 4.141 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-05/10.47, allocations: 82.38 kB / 4.141 GB, free: 51.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008355/10.48, allocations: 3.837 MB / 4.145 GB, free: 51.09 MB / 0.5105 GB 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.1396/10.62, allocations: 71.89 MB / 4.215 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00778/10.62, allocations: 2.805 MB / 4.218 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.564/11.19, allocations: 129.5 MB / 4.344 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.747e-05/11.19, allocations: 52.19 kB / 4.344 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=209): time 4.057e-06/11.19, allocations: 0 / 4.344 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=210): time 0.05019/11.24, allocations: 14.2 MB / 4.358 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/11.24, allocations: 74.34 kB / 4.358 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/11.24, allocations: 0.691 MB / 4.359 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000257/11.24, allocations: 63.52 kB / 4.359 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/11.24, allocations: 0.529 MB / 4.359 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006363/11.24, allocations: 0.7195 MB / 4.36 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/11.24, allocations: 41.06 kB / 4.36 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001212/11.24, allocations: 378.6 kB / 4.36 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/11.24, allocations: 1.305 MB / 4.362 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/11.24, allocations: 1.577 MB / 4.363 GB, free: 118 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02118/11.27, allocations: 5.587 MB / 4.369 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/11.27, allocations: 2.812 kB / 4.369 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.01033/11.28, allocations: 4.645 MB / 4.373 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006015/11.28, allocations: 1.665 MB / 4.375 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/11.28, allocations: 3.25 kB / 4.375 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01538/11.29, allocations: 4.334 MB / 4.379 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/11.29, allocations: 183 kB / 4.379 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/11.3, allocations: 5.646 MB / 4.385 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/11.31, allocations: 164.3 kB / 4.385 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004119/11.31, allocations: 156.1 kB / 4.385 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/11.31, allocations: 3.375 kB / 4.385 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01008/11.32, allocations: 4.496 MB / 4.389 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/11.32, allocations: 4.344 kB / 4.389 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01549/11.33, allocations: 4.358 MB / 4.394 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009452/11.33, allocations: 178.6 kB / 4.394 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/11.35, allocations: 5.637 MB / 4.399 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/11.35, allocations: 158.9 kB / 4.399 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/11.35, allocations: 154 kB / 4.4 GB, free: 114.5 MB / 0.5886 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.cooledFlow.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (cooledFlow.fluidState[6].phase,cooledFlow.fluidState[5].phase,cooledFlow.fluidState[4].phase,cooledFlow.fluidState[3].phase,cooledFlow.fluidState[2].phase,cooledFlow.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 137} Notification: Performance of prepare postOptimizeDAE: time 0.001374/11.35, allocations: 0.5408 MB / 4.4 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/11.35, allocations: 142.3 kB / 4.4 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02055/11.37, allocations: 18.42 MB / 4.418 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000155/11.37, allocations: 113.4 kB / 4.418 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.038e-05/11.37, allocations: 2.156 kB / 4.418 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-05/11.37, allocations: 17.33 kB / 4.418 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02733/11.4, allocations: 24.69 MB / 4.442 GB, free: 99.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/11.4, allocations: 3.953 kB / 4.442 GB, free: 99.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/11.4, allocations: 317.6 kB / 4.443 GB, free: 99.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01036/11.41, allocations: 3.729 MB / 4.446 GB, free: 98.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007426/11.41, allocations: 67.97 kB / 4.446 GB, free: 98.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/11.42, allocations: 13.3 MB / 4.459 GB, free: 88.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/11.42, allocations: 5.734 kB / 4.459 GB, free: 88.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/11.44, allocations: 10.59 MB / 4.47 GB, free: 84.05 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/11.44, allocations: 0.6892 MB / 4.471 GB, free: 83.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000728/11.45, allocations: 55.16 kB / 4.471 GB, free: 83.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00222/11.45, allocations: 143.1 kB / 4.471 GB, free: 83.55 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000477/11.45, allocations: 162.7 kB / 4.471 GB, free: 83.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002869/11.45, allocations: 80.92 kB / 4.471 GB, free: 83.51 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00114/11.45, allocations: 0.6477 MB / 4.472 GB, free: 83.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.8e-07/11.45, allocations: 0 / 4.472 GB, free: 83.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009788/11.46, allocations: 2.065 MB / 4.474 GB, free: 83.02 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 10 (cooledFlow.htilde[1],cooledFlow.htilde[2],cooledFlow.htilde[3],cooledFlow.htilde[4],cooledFlow.htilde[5],tubeWalls.Tvol[1],tubeWalls.Tvol[2],tubeWalls.Tvol[3],tubeWalls.Tvol[4],tubeWalls.Tvol[5]) * Number of discrete variables: 45 ($cse2.region3boundary,$cse4.region3boundary,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse11.region3boundary,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse19.region3boundary,$cse24.phase,$cse24.region,$cse25.region3boundary,$cse27.region3boundary,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse35.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse57.phase,$cse57.region,$cse58.phase,$cse58.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {20 96,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02665/11.49, allocations: 11.6 MB / 4.485 GB, free: 76.14 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01744/11.5, allocations: 6.572 MB / 4.491 GB, free: 70.62 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.353e-05/11.5, allocations: 3.844 kB / 4.491 GB, free: 70.62 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007089/11.51, allocations: 3.412 MB / 4.495 GB, free: 67.48 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/11.52, allocations: 0.8185 MB / 4.495 GB, free: 66.94 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04144/11.56, allocations: 21.26 MB / 4.516 GB, free: 47.87 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/11.56, allocations: 1.96 MB / 4.518 GB, free: 46.29 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002199/11.56, allocations: 0.6634 MB / 4.519 GB, free: 45.86 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/11.56, allocations: 0.9951 MB / 4.52 GB, free: 44.96 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/11.56, allocations: 2.438 kB / 4.52 GB, free: 44.96 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5492/12.11, allocations: 138.1 MB / 4.655 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/12.11, allocations: 213 kB / 4.655 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.973/19.08, allocations: 0 / 4.655 GB, free: 101.8 MB / 0.5886 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerClosed_fmu --startTime=-50 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerClosed.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.pipe 2>&1)