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.001105/0.001105, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.573/1.573, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008818/0.0008819, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3117/0.3117, allocations: 48.77 MB / 364.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.779e-05/3.802e-05, allocations: 0 / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1429, allocations: 60.25 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.23/10.37, allocations: 3.2 GB / 3.682 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/10.37, allocations: 82.09 kB / 3.682 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8466/11.22, allocations: 216.6 MB / 3.893 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/11.22, allocations: 0 / 3.893 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.363e-05/11.22, allocations: 20.38 kB / 3.893 GB, free: 87.09 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.008896/11.23, allocations: 1.746 MB / 3.895 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/11.23, allocations: 11.19 kB / 3.895 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005495/11.23, allocations: 150.8 kB / 3.895 GB, free: 86.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/11.23, allocations: 292.1 kB / 3.896 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/11.23, allocations: 0.8303 MB / 3.896 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/11.23, allocations: 80.62 kB / 3.896 GB, free: 85.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/11.23, allocations: 137.1 kB / 3.897 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00355/11.23, allocations: 1.817 MB / 3.898 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/11.24, allocations: 0 / 3.898 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/11.24, allocations: 35.91 kB / 3.898 GB, free: 84.92 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/11.24, allocations: 23.19 kB / 3.898 GB, free: 84.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/11.24, allocations: 1.844 MB / 3.9 GB, free: 84.41 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.006346/11.24, allocations: 4.627 MB / 3.905 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004289/11.25, allocations: 2.444 MB / 3.907 GB, free: 81.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/11.25, allocations: 1.062 MB / 3.908 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03682/11.29, allocations: 20.03 MB / 3.928 GB, free: 68.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/11.29, allocations: 59.14 kB / 3.928 GB, free: 68.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=207): time 4.057e-06/11.29, allocations: 0 / 3.928 GB, free: 68.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=207): time 0.009265/11.3, allocations: 3.275 MB / 3.931 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/11.3, allocations: 72.94 kB / 3.931 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/11.3, allocations: 338.4 kB / 3.931 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002492/11.3, allocations: 65.17 kB / 3.931 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/11.3, allocations: 205.5 kB / 3.932 GB, free: 67.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006005/11.3, allocations: 0.7316 MB / 3.932 GB, free: 66.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/11.3, allocations: 39.88 kB / 3.932 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001633/11.3, allocations: 425.2 kB / 3.933 GB, free: 66.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/11.3, allocations: 0.9037 MB / 3.934 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/11.3, allocations: 1.054 MB / 3.935 GB, free: 65.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/11.3, allocations: 1.072 MB / 3.936 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/11.3, allocations: 0 / 3.936 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004925/11.31, allocations: 3.173 MB / 3.939 GB, free: 64.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/11.31, allocations: 9.172 kB / 3.939 GB, free: 64.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/11.31, allocations: 0 / 3.939 GB, free: 64.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01334/11.32, allocations: 2.631 MB / 3.941 GB, free: 62.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/11.32, allocations: 242.5 kB / 3.942 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006634/11.33, allocations: 3.981 MB / 3.945 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/11.33, allocations: 154.2 kB / 3.946 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/11.33, allocations: 70.69 kB / 3.946 GB, free: 58.56 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 () * 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.0003923/11.33, allocations: 189.7 kB / 3.946 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/11.33, allocations: 106.8 kB / 3.946 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/11.34, allocations: 9.131 MB / 3.955 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.732e-05/11.34, allocations: 112.6 kB / 3.955 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/11.34, allocations: 8 kB / 3.955 GB, free: 50.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.9e-05/11.34, allocations: 23.36 kB / 3.955 GB, free: 50.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/11.36, allocations: 10.91 MB / 3.966 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/11.36, allocations: 3.984 kB / 3.966 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003208/11.36, allocations: 0.5229 MB / 3.966 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005687/11.36, allocations: 2.565 MB / 3.969 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007684/11.37, allocations: 87.88 kB / 3.969 GB, free: 37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/11.38, allocations: 19.6 MB / 3.988 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/11.38, allocations: 3.938 kB / 3.988 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/11.39, allocations: 9.878 MB / 3.998 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/11.39, allocations: 0.6837 MB / 3.998 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/11.39, allocations: 67.97 kB / 3.998 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/11.4, allocations: 95.69 kB / 3.998 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003632/11.4, allocations: 177.9 kB / 3.999 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/11.4, allocations: 75.97 kB / 3.999 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003983/11.4, allocations: 369.5 kB / 3.999 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/11.4, allocations: 0 / 3.999 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005063/11.4, allocations: 1.288 MB / 4 GB, free: 3.172 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 () * 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.3375/11.74, allocations: 10.12 MB / 4.01 GB, free: 86.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009275/11.75, allocations: 3.71 MB / 4.014 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/11.75, allocations: 0 / 4.014 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005539/11.75, allocations: 3.615 MB / 4.017 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003697/11.76, allocations: 0.7297 MB / 4.018 GB, free: 85.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/11.77, allocations: 7.096 MB / 4.025 GB, free: 84.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000974/11.77, allocations: 1.683 MB / 4.027 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001471/11.77, allocations: 413.1 kB / 4.027 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009474/11.78, allocations: 0.786 MB / 4.028 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/11.78, allocations: 0 / 4.028 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/11.9, allocations: 90.86 MB / 4.116 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/11.9, allocations: 189.5 kB / 4.117 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.462/17.36, allocations: 3.938 kB / 4.117 GB, free: 65.68 MB / 0.5105 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)