Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.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.TestCoolingTowerPacking,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking",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.001353/0.001353, allocations: 180.6 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.803/1.803, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0009506/0.0009509, allocations: 98.92 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5381/0.5381, allocations: 48.77 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004055, allocations: 11.98 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 60.25 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.418/9.571, allocations: 3.2 GB / 3.688 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/9.572, allocations: 80.5 kB / 3.688 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8585/10.43, allocations: 217.3 MB / 3.9 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.128e-06/10.43, allocations: 1 kB / 3.9 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.004e-05/10.43, allocations: 19.66 kB / 3.9 GB, free: 82.39 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.0106/10.44, allocations: 1.814 MB / 3.902 GB, free: 81.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/10.44, allocations: 17.66 kB / 3.902 GB, free: 81.57 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005684/10.44, allocations: 153 kB / 3.902 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/10.44, allocations: 284.8 kB / 3.902 GB, free: 81.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/10.45, allocations: 0.8386 MB / 3.903 GB, free: 81.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/10.45, allocations: 82.44 kB / 3.903 GB, free: 80.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003613/10.45, allocations: 133.8 kB / 3.903 GB, free: 80.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004268/10.45, allocations: 1.792 MB / 3.905 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/10.45, allocations: 3.938 kB / 3.905 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/10.45, allocations: 41.19 kB / 3.905 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/10.45, allocations: 23.47 kB / 3.905 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003995/10.46, allocations: 1.85 MB / 3.907 GB, free: 79.77 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.007831/10.46, allocations: 4.622 MB / 3.911 GB, free: 77.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004702/10.47, allocations: 2.447 MB / 3.914 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0372/10.51, allocations: 19.95 MB / 3.933 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/10.51, allocations: 56.38 kB / 3.933 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=207): time 5.651e-06/10.51, allocations: 0 / 3.933 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=207): time 0.01463/10.52, allocations: 6.281 MB / 3.939 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/10.52, allocations: 71.34 kB / 3.94 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/10.52, allocations: 341.1 kB / 3.94 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/10.52, allocations: 69.08 kB / 3.94 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/10.52, allocations: 208.6 kB / 3.94 GB, free: 61.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006023/10.52, allocations: 0.7297 MB / 3.941 GB, free: 60.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/10.52, allocations: 35.72 kB / 3.941 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001643/10.52, allocations: 418.5 kB / 3.941 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/10.52, allocations: 0.9412 MB / 3.942 GB, free: 59.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/10.53, allocations: 1.084 MB / 3.943 GB, free: 59.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/10.53, allocations: 1.114 MB / 3.944 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/10.53, allocations: 0 / 3.944 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005116/10.53, allocations: 3.244 MB / 3.947 GB, free: 57.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/10.53, allocations: 7.719 kB / 3.948 GB, free: 57.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/10.53, allocations: 5.75 kB / 3.948 GB, free: 57.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/10.55, allocations: 2.665 MB / 3.95 GB, free: 57.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/10.55, allocations: 240.4 kB / 3.95 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006449/10.55, allocations: 4.003 MB / 3.954 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/10.56, allocations: 165.2 kB / 3.954 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/10.56, allocations: 69.94 kB / 3.954 GB, free: 55.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (84): * Single equations (assignments): 83 * 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 {36 117} Notification: Performance of prepare postOptimizeDAE: time 0.0007217/10.56, allocations: 328 kB / 3.955 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/10.56, allocations: 108.2 kB / 3.955 GB, free: 55.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/10.57, allocations: 8.897 MB / 3.964 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/10.57, allocations: 113.5 kB / 3.964 GB, free: 51.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/10.57, allocations: 10.19 kB / 3.964 GB, free: 51.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.118e-05/10.57, allocations: 12.66 kB / 3.964 GB, free: 51.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/10.58, allocations: 10.65 MB / 3.974 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/10.58, allocations: 0 / 3.974 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003034/10.59, allocations: 0.5202 MB / 3.975 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005793/10.59, allocations: 2.194 MB / 3.977 GB, free: 45.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000671/10.59, allocations: 86.86 kB / 3.977 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/10.61, allocations: 19.71 MB / 3.996 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/10.61, allocations: 0 / 3.996 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/10.62, allocations: 9.678 MB / 4.006 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/10.63, allocations: 0.6928 MB / 4.006 GB, free: 16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/10.63, allocations: 63.59 kB / 4.006 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/10.63, allocations: 90.47 kB / 4.006 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/10.63, allocations: 173 kB / 4.007 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/10.63, allocations: 88.91 kB / 4.007 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004957/10.63, allocations: 371.8 kB / 4.007 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/10.63, allocations: 3.938 kB / 4.007 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006425/10.64, allocations: 1.283 MB / 4.008 GB, free: 14.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 27 (coolingTower.M[1],coolingTower.M[2],coolingTower.M[3],coolingTower.M[4],coolingTower.M[5],coolingTower.M[6],coolingTower.M[7],coolingTower.M[8],coolingTower.M[9],coolingTower.hltilde[1],coolingTower.hltilde[2],coolingTower.hltilde[3],coolingTower.hltilde[4],coolingTower.hltilde[5],coolingTower.hltilde[6],coolingTower.hltilde[7],coolingTower.hltilde[8],coolingTower.hltilde[9],coolingTower.Tp[1],coolingTower.Tp[2],coolingTower.Tp[3],coolingTower.Tp[4],coolingTower.Tp[5],coolingTower.Tp[6],coolingTower.Tp[7],coolingTower.Tp[8],coolingTower.Tp[9]) * 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 (210): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 39 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 9 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01955/10.66, allocations: 10.25 MB / 4.018 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009364/10.66, allocations: 3.784 MB / 4.022 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/10.66, allocations: 3.938 kB / 4.022 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007219/10.67, allocations: 3.749 MB / 4.026 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003899/10.68, allocations: 0.7258 MB / 4.026 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02759/10.7, allocations: 15.49 MB / 4.041 GB, free: 140 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3306/11.03, allocations: 1.684 MB / 4.043 GB, free: 92.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002041/11.04, allocations: 401.5 kB / 4.043 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/11.04, allocations: 0.7897 MB / 4.044 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of SimCode: time 8.757e-06/11.04, allocations: 1.125 kB / 4.044 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1763/11.21, allocations: 88.44 MB / 4.131 GB, free: 87.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/11.21, allocations: 219.8 kB / 4.131 GB, free: 87.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.498/16.71, allocations: 4 kB / 4.131 GB, free: 87.61 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking_fmu --startTime=-50 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1)