Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.6 MB / 307.6 MB, free: 5.191 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.001477/0.001477, allocations: 173.1 kB / 377.1 MB, free: 1.523 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.81/1.81, allocations: 205.4 MB / 0.6367 GB, free: 8.555 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.0009935/0.0009934, allocations: 93.98 kB / 0.751 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003607, allocations: 12 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2862, allocations: 116.3 MB / 0.9883 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9918/1.278, allocations: 382 MB / 1.361 GB, free: 8.305 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.278, allocations: 72.77 kB / 1.361 GB, free: 8.234 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.5887/1.867, allocations: 19.61 MB / 1.381 GB, free: 280.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.825e-06/1.867, allocations: 0 / 1.381 GB, free: 280.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.867, allocations: 7.25 kB / 1.381 GB, free: 280.6 MB / 0.9323 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.0006404/1.868, allocations: 479.6 kB / 1.381 GB, free: 280.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.868, allocations: 13.38 kB / 1.381 GB, free: 280.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/1.868, allocations: 28.09 kB / 1.381 GB, free: 280.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/1.868, allocations: 207.9 kB / 1.381 GB, free: 280 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.868, allocations: 13.31 kB / 1.381 GB, free: 280 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/1.868, allocations: 20.34 kB / 1.381 GB, free: 280 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/1.869, allocations: 233 kB / 1.382 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.869, allocations: 3.938 kB / 1.382 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/1.869, allocations: 14.09 kB / 1.382 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/1.869, allocations: 10.72 kB / 1.382 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/1.869, allocations: 426.1 kB / 1.382 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/1.87, allocations: 0.9867 MB / 1.383 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/1.871, allocations: 159.2 kB / 1.383 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.872, allocations: 1.835 MB / 1.385 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/1.872, allocations: 43.94 kB / 1.385 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/1.872, allocations: 0.7812 kB / 1.385 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0003672/1.872, allocations: 141 kB / 1.385 GB, free: 277 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/1.872, allocations: 53.91 kB / 1.385 GB, free: 277 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.873, allocations: 159 kB / 1.385 GB, free: 276.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/1.873, allocations: 31.52 kB / 1.385 GB, free: 276.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/1.873, allocations: 139.4 kB / 1.385 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/1.873, allocations: 58.86 kB / 1.385 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/1.873, allocations: 1.062 kB / 1.385 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/1.873, allocations: 325.4 kB / 1.386 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/1.873, allocations: 37.78 kB / 1.386 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/1.873, allocations: 143.2 kB / 1.386 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/1.873, allocations: 60.45 kB / 1.386 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.873, allocations: 0.875 kB / 1.386 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003555/1.874, allocations: 205.4 kB / 1.386 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.874, allocations: 6.281 kB / 1.386 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.874, allocations: 3.875 kB / 1.386 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/1.874, allocations: 5.594 kB / 1.386 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/1.874, allocations: 66.16 kB / 1.386 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/1.874, allocations: 10.02 kB / 1.386 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/1.874, allocations: 29.23 kB / 1.386 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/1.874, allocations: 13.02 kB / 1.386 GB, free: 276.1 MB / 0.9323 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 () * Number of clocked 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 9.388e-05/1.874, allocations: 138.5 kB / 1.386 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/1.874, allocations: 16.53 kB / 1.386 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/1.875, allocations: 162.1 kB / 1.387 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.875, allocations: 2.5 kB / 1.387 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.875, allocations: 4.625 kB / 1.387 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.875, allocations: 5.25 kB / 1.387 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/1.875, allocations: 210.1 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.875, allocations: 2 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/1.875, allocations: 31.67 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/1.875, allocations: 1.5 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/1.875, allocations: 5.547 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.875, allocations: 1.438 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.875, allocations: 0.6875 kB / 1.387 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/1.875, allocations: 225 kB / 1.387 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.443e-05/1.875, allocations: 114.9 kB / 1.387 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/1.875, allocations: 6.281 kB / 1.387 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/1.876, allocations: 11.22 kB / 1.387 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/1.876, allocations: 13.36 kB / 1.387 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/1.876, allocations: 13.33 kB / 1.387 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.618e-05/1.876, allocations: 119 kB / 1.387 GB, free: 275.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/1.876, allocations: 0 / 1.387 GB, free: 275.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004286/1.876, allocations: 76.39 kB / 1.387 GB, free: 275.4 MB / 0.9323 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 () * Number of clocked 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.000328/1.877, allocations: 189.6 kB / 1.388 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002518/1.877, allocations: 128.2 kB / 1.388 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.877, allocations: 0.75 kB / 1.388 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/1.877, allocations: 47.25 kB / 1.388 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/1.877, allocations: 49.7 kB / 1.388 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/1.878, allocations: 416.2 kB / 1.388 GB, free: 275 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/1.878, allocations: 0.7195 MB / 1.389 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001842/1.878, allocations: 51.03 kB / 1.389 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/1.878, allocations: 22.83 kB / 1.389 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.61e-07/1.878, allocations: 0 / 1.389 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.008134/1.887, allocations: 3.393 MB / 1.392 GB, free: 274 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)