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.8409/0.8409, allocations: 128.7 MB / 143.7 MB, free: 2.301 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.001473/0.001474, allocations: 186.4 kB / 173.8 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 409 MB, free: 10.51 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.001218/0.001218, allocations: 90.48 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 9.75 kB / 0.5603 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1801, allocations: 76.77 MB / 0.6353 GB, free: 30.59 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7415/0.9217, allocations: 337 MB / 0.9644 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.922, allocations: 75.91 kB / 0.9645 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02504/0.9471, allocations: 11.6 MB / 0.9758 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9471, allocations: 0 / 0.9758 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.9471, allocations: 0 / 0.9758 GB, free: 11.7 MB / 0.6511 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.0003885/0.9475, allocations: 339.3 kB / 0.9761 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.9476, allocations: 8.031 kB / 0.9762 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.9476, allocations: 3.953 kB / 0.9762 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.9478, allocations: 166.6 kB / 0.9763 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/0.9479, allocations: 33.64 kB / 0.9763 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.9479, allocations: 0 / 0.9763 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.9481, allocations: 37.69 kB / 0.9764 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.9481, allocations: 0 / 0.9764 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.9481, allocations: 7.938 kB / 0.9764 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.9481, allocations: 7.953 kB / 0.9764 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/0.9482, allocations: 15.97 kB / 0.9764 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.9487, allocations: 325.6 kB / 0.9767 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.333e-05/0.9487, allocations: 22.45 kB / 0.9767 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.717e-05/0.9488, allocations: 85.17 kB / 0.9768 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.9489, allocations: 34.56 kB / 0.9769 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.9489, allocations: 0 / 0.9769 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.000157/0.949, allocations: 41.55 kB / 0.9769 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.9491, allocations: 55.41 kB / 0.977 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.9492, allocations: 92.69 kB / 0.977 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.9492, allocations: 29.64 kB / 0.9771 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.9493, allocations: 88.06 kB / 0.9772 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.9493, allocations: 8.016 kB / 0.9772 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.9493, allocations: 4 kB / 0.9772 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.9494, allocations: 317.8 kB / 0.9775 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.9494, allocations: 0 / 0.9775 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.9495, allocations: 17.09 kB / 0.9775 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.603e-05/0.9495, allocations: 11.92 kB / 0.9775 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9495, allocations: 0 / 0.9775 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.051e-05/0.9496, allocations: 49.14 kB / 0.9775 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.9496, allocations: 11.98 kB / 0.9776 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9497, allocations: 0 / 0.9776 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.9497, allocations: 3.953 kB / 0.9776 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.187e-05/0.9497, allocations: 4 kB / 0.9776 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.9498, allocations: 8 kB / 0.9776 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.9498, allocations: 5.625 kB / 0.9776 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.9498, allocations: 0 / 0.9776 GB, free: 9.68 MB / 0.6511 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 () * Number of clocked 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 9.095e-05/0.9499, allocations: 113.1 kB / 0.9777 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.9499, allocations: 4.062 kB / 0.9777 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.9501, allocations: 124.8 kB / 0.9778 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.318e-05/0.9502, allocations: 176.3 kB / 0.978 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.117e-05/0.9503, allocations: 183.7 kB / 0.9781 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.505e-05/0.9503, allocations: 184.2 kB / 0.9783 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.9506, allocations: 405.2 kB / 0.9787 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.95e-05/0.9506, allocations: 108.9 kB / 0.9788 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.9507, allocations: 109 kB / 0.9789 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.525e-05/0.9507, allocations: 176.3 kB / 0.9791 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/0.9508, allocations: 182.6 kB / 0.9793 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-05/0.9509, allocations: 176.3 kB / 0.9794 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.501e-05/0.951, allocations: 188.2 kB / 0.9796 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.9511, allocations: 311.5 kB / 0.9799 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.9512, allocations: 178.1 kB / 0.9801 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.9513, allocations: 187.5 kB / 0.9803 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.9514, allocations: 108.9 kB / 0.9804 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.9515, allocations: 176.3 kB / 0.9805 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.9516, allocations: 108.9 kB / 0.9806 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.9516, allocations: 90.72 kB / 0.9807 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9516, allocations: 0 / 0.9807 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002661/0.9519, allocations: 16 kB / 0.9807 GB, free: 6.246 MB / 0.6511 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 (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.0002311/0.9521, allocations: 202.7 kB / 0.9809 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.568e-05/0.9522, allocations: 15.67 kB / 0.9809 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9522, allocations: 3.938 kB / 0.9809 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.9522, allocations: 8.062 kB / 0.981 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.9526, allocations: 0.5224 MB / 0.9815 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.9529, allocations: 188 kB / 0.9816 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.9531, allocations: 0.6809 MB / 0.9823 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.232e-05/0.9532, allocations: 4 kB / 0.9823 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.9532, allocations: 7.438 kB / 0.9823 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/0.9532, allocations: 0 / 0.9823 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of Templates: time 0.003401/0.9566, allocations: 0.7909 MB / 0.9831 GB, free: 3.777 MB / 0.6511 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)