Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.496/2.496, allocations: 287.5 MB / 303.2 MB, free: 8.168 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.001367/0.001367, allocations: 176.9 kB / 371.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 0.6305 GB, free: 10.52 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.0008886/0.0008884, allocations: 90.39 kB / 0.7438 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 15.39 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2277, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.469, allocations: 380.8 MB / 1.351 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/1.47, allocations: 82.39 kB / 1.351 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.07371/1.543, allocations: 19.6 MB / 1.37 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.675e-06/1.544, allocations: 0 / 1.37 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.419e-05/1.544, allocations: 4 kB / 1.37 GB, free: 0.9922 MB / 0.8855 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.0009696/1.545, allocations: 481.7 kB / 1.371 GB, free: 492 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.545, allocations: 8.031 kB / 1.371 GB, free: 484 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/1.545, allocations: 24.73 kB / 1.371 GB, free: 460 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/1.545, allocations: 209.9 kB / 1.371 GB, free: 220 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/1.545, allocations: 12.58 kB / 1.371 GB, free: 212 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/1.545, allocations: 22.86 kB / 1.371 GB, free: 196 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/1.546, allocations: 243.3 kB / 1.371 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/1.546, allocations: 4.125 kB / 1.371 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/1.546, allocations: 11.73 kB / 1.371 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/1.546, allocations: 8 kB / 1.371 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/1.547, allocations: 430.4 kB / 1.372 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/1.548, allocations: 0.9377 MB / 1.373 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/1.549, allocations: 160.7 kB / 1.373 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/1.549, allocations: 56.44 kB / 1.373 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00209/1.551, allocations: 1.838 MB / 1.375 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.551, allocations: 42.19 kB / 1.375 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 2.435e-06/1.551, allocations: 0 / 1.375 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0004843/1.552, allocations: 142.4 kB / 1.375 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/1.552, allocations: 55.41 kB / 1.375 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/1.552, allocations: 170.9 kB / 1.375 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/1.552, allocations: 33.06 kB / 1.375 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.552, allocations: 141.6 kB / 1.375 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/1.552, allocations: 53.89 kB / 1.375 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/1.552, allocations: 3.75 kB / 1.375 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.552, allocations: 329.6 kB / 1.376 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/1.552, allocations: 34.22 kB / 1.376 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/1.553, allocations: 138.5 kB / 1.376 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/1.553, allocations: 194.2 kB / 1.376 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.553, allocations: 0 / 1.376 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005397/1.554, allocations: 222.2 kB / 1.376 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.554, allocations: 8 kB / 1.376 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.554, allocations: 4 kB / 1.376 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.554, allocations: 4 kB / 1.376 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/1.554, allocations: 59.22 kB / 1.376 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/1.554, allocations: 12.41 kB / 1.376 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/1.554, allocations: 35.31 kB / 1.376 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/1.554, allocations: 12 kB / 1.376 GB, free: 10.7 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 0.0001793/1.555, allocations: 132.5 kB / 1.376 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/1.555, allocations: 11.91 kB / 1.376 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/1.555, allocations: 162.3 kB / 1.377 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.555, allocations: 4 kB / 1.377 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.555, allocations: 0 / 1.377 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/1.555, allocations: 3.938 kB / 1.377 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/1.556, allocations: 221.9 kB / 1.377 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.556, allocations: 0 / 1.377 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/1.556, allocations: 31.92 kB / 1.377 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.556, allocations: 0 / 1.377 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/1.556, allocations: 11.61 kB / 1.377 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.556, allocations: 0 / 1.377 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.556, allocations: 0 / 1.377 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/1.556, allocations: 216.6 kB / 1.377 GB, free: 9.938 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/1.556, allocations: 116.4 kB / 1.377 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/1.557, allocations: 7.062 kB / 1.377 GB, free: 9.805 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/1.557, allocations: 6.688 kB / 1.377 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/1.557, allocations: 15.86 kB / 1.377 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/1.557, allocations: 15.92 kB / 1.377 GB, free: 9.773 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000133/1.557, allocations: 118.4 kB / 1.377 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.41e-07/1.557, allocations: 0 / 1.377 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006157/1.558, allocations: 78.06 kB / 1.377 GB, free: 9.602 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.0004059/1.558, allocations: 191.2 kB / 1.378 GB, free: 9.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003602/1.558, allocations: 115.4 kB / 1.378 GB, free: 9.316 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.559, allocations: 0 / 1.378 GB, free: 9.316 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/1.559, allocations: 44.92 kB / 1.378 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/1.559, allocations: 56.48 kB / 1.378 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/1.56, allocations: 417.9 kB / 1.378 GB, free: 8.82 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/1.561, allocations: 0.717 MB / 1.379 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000348/1.561, allocations: 49.73 kB / 1.379 GB, free: 8.031 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/1.561, allocations: 22.69 kB / 1.379 GB, free: 8.012 MB / 0.9011 GB Notification: Performance of SimCode: time 1.433e-06/1.561, allocations: 0 / 1.379 GB, free: 8.012 MB / 0.9011 GB Notification: Performance of Templates: time 0.01707/1.578, allocations: 3.443 MB / 1.382 GB, free: 4.605 MB / 0.9011 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)