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.795/1.795, allocations: 288.3 MB / 303.2 MB, free: 8.152 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.001058/0.001058, allocations: 179.7 kB / 371.8 MB, free: 10.29 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.77/1.77, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0009087/0.0009087, allocations: 102.7 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 14.22 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.245, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9478/1.193, allocations: 381 MB / 1.351 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.193, allocations: 73.95 kB / 1.352 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04811/1.241, allocations: 19.62 MB / 1.371 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.566e-06/1.241, allocations: 3.984 kB / 1.371 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.241, allocations: 4 kB / 1.371 GB, free: 15.82 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.00089/1.242, allocations: 473.4 kB / 1.371 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.242, allocations: 16.02 kB / 1.371 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/1.243, allocations: 27.81 kB / 1.371 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/1.243, allocations: 212 kB / 1.371 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/1.243, allocations: 12.14 kB / 1.371 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/1.243, allocations: 15.06 kB / 1.371 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/1.243, allocations: 243.9 kB / 1.372 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.243, allocations: 3.938 kB / 1.372 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/1.244, allocations: 7.688 kB / 1.372 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/1.244, allocations: 11.94 kB / 1.372 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/1.244, allocations: 426.9 kB / 1.372 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/1.245, allocations: 0.9866 MB / 1.373 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/1.246, allocations: 162.1 kB / 1.373 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/1.247, allocations: 1.831 MB / 1.375 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/1.247, allocations: 41.75 kB / 1.375 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/1.247, allocations: 3.938 kB / 1.375 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0003609/1.248, allocations: 146.4 kB / 1.375 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/1.248, allocations: 55.41 kB / 1.375 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/1.248, allocations: 152.9 kB / 1.375 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/1.248, allocations: 29.27 kB / 1.375 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/1.248, allocations: 139 kB / 1.376 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/1.248, allocations: 57.95 kB / 1.376 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/1.248, allocations: 7.5 kB / 1.376 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.248, allocations: 322.3 kB / 1.376 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.774e-05/1.248, allocations: 35.03 kB / 1.376 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/1.249, allocations: 136.3 kB / 1.376 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/1.249, allocations: 58.45 kB / 1.376 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.249, allocations: 0 / 1.376 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004412/1.249, allocations: 214.6 kB / 1.376 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/1.249, allocations: 8 kB / 1.376 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.249, allocations: 4 kB / 1.376 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/1.249, allocations: 7.984 kB / 1.376 GB, free: 9.84 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/1.25, allocations: 59.91 kB / 1.376 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/1.25, allocations: 7.953 kB / 1.376 GB, free: 9.773 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/1.25, allocations: 27.31 kB / 1.376 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/1.25, allocations: 14.69 kB / 1.376 GB, free: 9.738 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.0001949/1.25, allocations: 133.2 kB / 1.377 GB, free: 9.605 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/1.25, allocations: 15.81 kB / 1.377 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/1.251, allocations: 164.8 kB / 1.377 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/1.251, allocations: 0 / 1.377 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.251, allocations: 0 / 1.377 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.251, allocations: 3.953 kB / 1.377 GB, free: 9.449 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/1.251, allocations: 214.2 kB / 1.377 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.251, allocations: 4 kB / 1.377 GB, free: 9.203 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/1.251, allocations: 27.98 kB / 1.377 GB, free: 9.176 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/1.251, allocations: 4 kB / 1.377 GB, free: 9.172 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.251, allocations: 3.938 kB / 1.377 GB, free: 9.172 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/1.251, allocations: 11.86 kB / 1.377 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.251, allocations: 0 / 1.377 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/1.252, allocations: 212.7 kB / 1.377 GB, free: 8.957 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/1.252, allocations: 122.8 kB / 1.377 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/1.252, allocations: 7.188 kB / 1.377 GB, free: 8.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/1.252, allocations: 12 kB / 1.377 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/1.252, allocations: 15.55 kB / 1.377 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/1.252, allocations: 7.984 kB / 1.377 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001336/1.252, allocations: 123.1 kB / 1.377 GB, free: 8.68 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.71e-07/1.252, allocations: 0 / 1.377 GB, free: 8.68 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005668/1.253, allocations: 81.91 kB / 1.378 GB, free: 8.609 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.0003874/1.253, allocations: 193.6 kB / 1.378 GB, free: 8.418 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002612/1.254, allocations: 121.2 kB / 1.378 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.254, allocations: 0 / 1.378 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.205e-05/1.254, allocations: 40 kB / 1.378 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/1.254, allocations: 54.48 kB / 1.378 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/1.255, allocations: 425.8 kB / 1.378 GB, free: 7.82 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/1.255, allocations: 0.7133 MB / 1.379 GB, free: 7.074 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002186/1.255, allocations: 53.73 kB / 1.379 GB, free: 7.02 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/1.255, allocations: 27.38 kB / 1.379 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of SimCode: time 2.1e-07/1.255, allocations: 0 / 1.379 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of Templates: time 0.007456/1.263, allocations: 3.393 MB / 1.382 GB, free: 3.648 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)