Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8693/0.8693, allocations: 127.4 MB / 134.9 MB, free: 3.465 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 171.1 kB / 164.6 MB, free: 11.63 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.2 MB / 399.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.00112, allocations: 82.47 kB / 476.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.021e-05, allocations: 2.656 kB / 0.5465 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1715, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7845/0.9561, allocations: 336.3 MB / 0.9499 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.9565, allocations: 74.27 kB / 0.95 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02498/0.9815, allocations: 11.49 MB / 0.9612 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9815, allocations: 0 / 0.9612 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.9816, allocations: 0 / 0.9612 GB, free: 14.18 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003554/0.9819, allocations: 334.4 kB / 0.9615 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.982, allocations: 8.031 kB / 0.9615 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.982, allocations: 11.95 kB / 0.9615 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.9822, allocations: 159.1 kB / 0.9617 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/0.9823, allocations: 25.7 kB / 0.9617 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.9823, allocations: 0 / 0.9617 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.938e-05/0.9824, allocations: 15.86 kB / 0.9617 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.356e-05/0.9825, allocations: 37.69 kB / 0.9618 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.9825, allocations: 0 / 0.9618 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.9825, allocations: 0 / 0.9618 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.9825, allocations: 7.953 kB / 0.9618 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.983, allocations: 310.3 kB / 0.9621 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.534e-05/0.9831, allocations: 18.56 kB / 0.9621 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.9831, allocations: 8.922 kB / 0.9621 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-05/0.9832, allocations: 81.11 kB / 0.9622 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.9833, allocations: 30.56 kB / 0.9622 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.9833, allocations: 4 kB / 0.9622 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.00021/0.9835, allocations: 45.52 kB / 0.9622 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.9835, allocations: 51.41 kB / 0.9623 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.9836, allocations: 96.92 kB / 0.9624 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.9836, allocations: 29.64 kB / 0.9624 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.9837, allocations: 87.92 kB / 0.9625 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-06/0.9837, allocations: 3.906 kB / 0.9625 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.9837, allocations: 0 / 0.9625 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.9838, allocations: 322.9 kB / 0.9628 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.9839, allocations: 0 / 0.9628 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.9839, allocations: 16.78 kB / 0.9628 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.566e-05/0.984, allocations: 9.625 kB / 0.9628 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.984, allocations: 0 / 0.9628 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001105/0.9841, allocations: 49.62 kB / 0.9629 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9841, allocations: 4 kB / 0.9629 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9842, allocations: 4.062 kB / 0.9629 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.9842, allocations: 7.984 kB / 0.9629 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.9842, allocations: 4 kB / 0.9629 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.9842, allocations: 3.953 kB / 0.9629 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.9843, allocations: 0 / 0.9629 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.9843, allocations: 7.562 kB / 0.9629 GB, free: 12.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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 7.282e-05/0.9844, allocations: 104.9 kB / 0.963 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.9844, allocations: 0 / 0.963 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.9845, allocations: 121.6 kB / 0.9631 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.234e-05/0.9846, allocations: 180.5 kB / 0.9633 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.216e-05/0.9847, allocations: 180.3 kB / 0.9635 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.694e-05/0.9847, allocations: 183 kB / 0.9636 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.985, allocations: 385.7 kB / 0.964 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.555e-05/0.985, allocations: 105 kB / 0.9641 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.985, allocations: 109 kB / 0.9642 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.979e-05/0.9851, allocations: 187 kB / 0.9644 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/0.9852, allocations: 180.3 kB / 0.9646 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-05/0.9853, allocations: 180.3 kB / 0.9647 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.323e-05/0.9853, allocations: 180.2 kB / 0.9649 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.9855, allocations: 315.5 kB / 0.9652 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.9856, allocations: 182 kB / 0.9654 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.9857, allocations: 176.3 kB / 0.9656 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.9858, allocations: 109 kB / 0.9657 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.9859, allocations: 184.2 kB / 0.9658 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.9859, allocations: 104.5 kB / 0.9659 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.986, allocations: 83.22 kB / 0.966 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.986, allocations: 0 / 0.966 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002616/0.9862, allocations: 23.98 kB / 0.966 GB, free: 8.809 MB / 0.6355 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.000234/0.9865, allocations: 202.9 kB / 0.9662 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.055e-05/0.9866, allocations: 11.94 kB / 0.9662 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9866, allocations: 0 / 0.9662 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.9866, allocations: 0 / 0.9662 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.9869, allocations: 0.5297 MB / 0.9668 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.9872, allocations: 127.2 kB / 0.9669 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.9874, allocations: 0.6806 MB / 0.9675 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.052e-05/0.9875, allocations: 7.938 kB / 0.9675 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.9875, allocations: 11.44 kB / 0.9676 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.9875, allocations: 0 / 0.9676 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of Templates: time 0.003316/0.9909, allocations: 0.6705 MB / 0.9682 GB, free: 6.527 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)