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.679/1.679, allocations: 288.4 MB / 304.3 MB, free: 8.047 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.001047/0.001047, allocations: 179 kB / 372.9 MB, free: 10.16 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.657/1.657, allocations: 205.4 MB / 0.6317 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007841/0.0007842, allocations: 102.3 kB / 0.7451 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 11.66 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1971, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8593/1.056, allocations: 381 MB / 1.353 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/1.057, allocations: 74.14 kB / 1.353 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04482/1.102, allocations: 19.59 MB / 1.372 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.305e-06/1.102, allocations: 0 / 1.372 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.104e-05/1.102, allocations: 4 kB / 1.372 GB, free: 15.48 MB / 0.9011 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.0007077/1.102, allocations: 481.1 kB / 1.372 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.102, allocations: 12.03 kB / 1.372 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/1.103, allocations: 24.73 kB / 1.372 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/1.103, allocations: 214.7 kB / 1.373 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/1.103, allocations: 15.89 kB / 1.373 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/1.103, allocations: 19.23 kB / 1.373 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/1.103, allocations: 240.2 kB / 1.373 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/1.103, allocations: 8.125 kB / 1.373 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/1.103, allocations: 15 kB / 1.373 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/1.103, allocations: 4 kB / 1.373 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/1.104, allocations: 427.3 kB / 1.373 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009972/1.105, allocations: 0.9422 MB / 1.374 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/1.105, allocations: 158.4 kB / 1.374 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.996e-05/1.105, allocations: 60.75 kB / 1.375 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/1.106, allocations: 1.836 MB / 1.376 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/1.107, allocations: 34.06 kB / 1.376 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/1.107, allocations: 0 / 1.376 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0002993/1.107, allocations: 144.1 kB / 1.376 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/1.107, allocations: 59.34 kB / 1.377 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/1.107, allocations: 166.5 kB / 1.377 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/1.107, allocations: 29.7 kB / 1.377 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/1.107, allocations: 145.3 kB / 1.377 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/1.107, allocations: 56.89 kB / 1.377 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/1.107, allocations: 3.5 kB / 1.377 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.107, allocations: 326 kB / 1.377 GB, free: 9.906 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/1.107, allocations: 34.34 kB / 1.377 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/1.108, allocations: 140.8 kB / 1.377 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/1.108, allocations: 194.5 kB / 1.378 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.108, allocations: 0 / 1.378 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002925/1.108, allocations: 215.6 kB / 1.378 GB, free: 9.316 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.108, allocations: 8 kB / 1.378 GB, free: 9.309 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/1.108, allocations: 7.984 kB / 1.378 GB, free: 9.301 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.108, allocations: 4 kB / 1.378 GB, free: 9.297 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/1.108, allocations: 63.41 kB / 1.378 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/1.108, allocations: 7.938 kB / 1.378 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/1.108, allocations: 35.02 kB / 1.378 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/1.108, allocations: 19.38 kB / 1.378 GB, free: 9.184 MB / 0.9011 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.902e-05/1.109, allocations: 131.5 kB / 1.378 GB, free: 9.055 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/1.109, allocations: 11.91 kB / 1.378 GB, free: 9.043 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/1.109, allocations: 158.2 kB / 1.378 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.109, allocations: 4 kB / 1.378 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.109, allocations: 0 / 1.378 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.109, allocations: 3.938 kB / 1.378 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/1.109, allocations: 214.3 kB / 1.378 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.109, allocations: 4 kB / 1.378 GB, free: 8.668 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/1.109, allocations: 35.23 kB / 1.378 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.109, allocations: 3.984 kB / 1.378 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/1.109, allocations: 7.625 kB / 1.378 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.109, allocations: 0 / 1.378 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.109, allocations: 0 / 1.378 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/1.11, allocations: 214.8 kB / 1.379 GB, free: 8.426 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/1.11, allocations: 116.6 kB / 1.379 GB, free: 8.297 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/1.11, allocations: 4 kB / 1.379 GB, free: 8.293 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/1.11, allocations: 7.5 kB / 1.379 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/1.11, allocations: 15.92 kB / 1.379 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/1.11, allocations: 19.42 kB / 1.379 GB, free: 8.258 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.311e-05/1.11, allocations: 121.1 kB / 1.379 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.1e-07/1.11, allocations: 4 kB / 1.379 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003631/1.11, allocations: 71.94 kB / 1.379 GB, free: 8.086 MB / 0.9011 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.0002651/1.111, allocations: 189.1 kB / 1.379 GB, free: 7.895 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002044/1.111, allocations: 120.2 kB / 1.379 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.111, allocations: 0 / 1.379 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/1.111, allocations: 46.98 kB / 1.379 GB, free: 7.758 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/1.111, allocations: 59.3 kB / 1.379 GB, free: 7.719 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/1.112, allocations: 418.5 kB / 1.38 GB, free: 7.301 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/1.112, allocations: 0.717 MB / 1.381 GB, free: 6.555 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001829/1.112, allocations: 45.8 kB / 1.381 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/1.112, allocations: 23.44 kB / 1.381 GB, free: 6.488 MB / 0.9011 GB Notification: Performance of SimCode: time 2.6e-07/1.112, allocations: 0 / 1.381 GB, free: 6.488 MB / 0.9011 GB Notification: Performance of Templates: time 0.006355/1.119, allocations: 3.496 MB / 1.384 GB, free: 3.043 MB / 0.9011 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)