Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 285.4 MB / 298 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 180.9 kB / 366.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.1 MB / 0.6248 GB, free: 7.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007973/0.0007973, allocations: 99.55 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.967e-05/4.971e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.783/0.7831, allocations: 115.3 MB / 0.9709 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.862, allocations: 380.9 MB / 1.343 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.863, allocations: 67.97 kB / 1.343 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03999/1.903, allocations: 19.57 MB / 1.362 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.673e-06/1.903, allocations: 0 / 1.362 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.245e-05/1.903, allocations: 4 kB / 1.362 GB, free: 194.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008043/1.903, allocations: 474.6 kB / 1.362 GB, free: 194 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.904, allocations: 8.031 kB / 1.362 GB, free: 194 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/1.904, allocations: 23.81 kB / 1.363 GB, free: 194 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/1.904, allocations: 214.8 kB / 1.363 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/1.904, allocations: 13.95 kB / 1.363 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/1.904, allocations: 16 kB / 1.363 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/1.904, allocations: 240.1 kB / 1.363 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.904, allocations: 0 / 1.363 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/1.905, allocations: 8 kB / 1.363 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/1.905, allocations: 8 kB / 1.363 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/1.905, allocations: 427.4 kB / 1.363 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/1.906, allocations: 0.98 MB / 1.364 GB, free: 192 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/1.906, allocations: 159.5 kB / 1.365 GB, free: 191.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.257e-05/1.907, allocations: 60.89 kB / 1.365 GB, free: 191.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/1.908, allocations: 1.924 MB / 1.366 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/1.908, allocations: 34.56 kB / 1.366 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.545e-06/1.908, allocations: 0 / 1.366 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.000288/1.908, allocations: 121.4 kB / 1.367 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/1.908, allocations: 55.41 kB / 1.367 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/1.908, allocations: 152.5 kB / 1.367 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/1.908, allocations: 29.7 kB / 1.367 GB, free: 189 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/1.908, allocations: 143.8 kB / 1.367 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/1.908, allocations: 43.36 kB / 1.367 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/1.908, allocations: 4 kB / 1.367 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.958e-05/1.909, allocations: 326.8 kB / 1.367 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/1.909, allocations: 32 kB / 1.367 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/1.909, allocations: 146.6 kB / 1.367 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/1.909, allocations: 52.97 kB / 1.368 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.909, allocations: 2.344 kB / 1.368 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002968/1.909, allocations: 211.7 kB / 1.368 GB, free: 188 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.909, allocations: 12.06 kB / 1.368 GB, free: 188 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.909, allocations: 4 kB / 1.368 GB, free: 188 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.909, allocations: 4 kB / 1.368 GB, free: 188 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/1.909, allocations: 59.86 kB / 1.368 GB, free: 188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/1.909, allocations: 8 kB / 1.368 GB, free: 188 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/1.909, allocations: 33.05 kB / 1.368 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/1.91, allocations: 16 kB / 1.368 GB, free: 187.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.833e-05/1.91, allocations: 130.8 kB / 1.368 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/1.91, allocations: 19.81 kB / 1.368 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/1.91, allocations: 150.9 kB / 1.368 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.91, allocations: 0 / 1.368 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.91, allocations: 7.953 kB / 1.368 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.91, allocations: 7.922 kB / 1.368 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/1.91, allocations: 209.5 kB / 1.368 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.91, allocations: 0 / 1.368 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/1.91, allocations: 35.92 kB / 1.368 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.91, allocations: 0 / 1.368 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/1.91, allocations: 10.98 kB / 1.368 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.91, allocations: 0 / 1.368 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.91, allocations: 5.969 kB / 1.368 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/1.911, allocations: 217 kB / 1.369 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/1.911, allocations: 116.9 kB / 1.369 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/1.911, allocations: 4 kB / 1.369 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/1.911, allocations: 7.984 kB / 1.369 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/1.911, allocations: 15.98 kB / 1.369 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/1.911, allocations: 8 kB / 1.369 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.15e-05/1.911, allocations: 120 kB / 1.369 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.911, allocations: 0 / 1.369 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004239/1.912, allocations: 79.94 kB / 1.369 GB, free: 186.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003319/1.912, allocations: 195.6 kB / 1.369 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002266/1.912, allocations: 116.6 kB / 1.369 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.912, allocations: 4.062 kB / 1.369 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/1.912, allocations: 47.92 kB / 1.369 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/1.913, allocations: 37.06 kB / 1.369 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/1.913, allocations: 179 kB / 1.37 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/1.913, allocations: 0.7208 MB / 1.37 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002025/1.913, allocations: 47.16 kB / 1.37 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/1.914, allocations: 31.36 kB / 1.37 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of SimCode: time 3.3e-07/1.914, allocations: 0 / 1.37 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.006976/1.921, allocations: 3.447 MB / 1.374 GB, free: 181.9 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)