Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000917/0.0009171, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4898/0.4898, allocations: 90.92 MB / 99.35 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009022/0.0009022, allocations: 98.48 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.277e-05/1.276e-05, allocations: 0 / 494.5 MB, free: 52.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1588, allocations: 72.31 MB / 0.5535 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.179/1.338, allocations: 407.5 MB / 0.9515 GB, free: 71.64 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.338, allocations: 70.22 kB / 0.9516 GB, free: 71.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.04324/1.381, allocations: 23.02 MB / 0.974 GB, free: 53 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.513e-06/1.381, allocations: 0 / 0.974 GB, free: 53 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.292e-06/1.381, allocations: 8 kB / 0.974 GB, free: 52.99 MB / 0.5886 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.0003173/1.382, allocations: 350.7 kB / 0.9744 GB, free: 52.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.382, allocations: 8.031 kB / 0.9744 GB, free: 52.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/1.382, allocations: 7.906 kB / 0.9744 GB, free: 52.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/1.382, allocations: 163.1 kB / 0.9745 GB, free: 52.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/1.382, allocations: 25.7 kB / 0.9746 GB, free: 52.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/1.382, allocations: 4 kB / 0.9746 GB, free: 52.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.364e-05/1.382, allocations: 15.44 kB / 0.9746 GB, free: 52.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.837e-05/1.382, allocations: 45.64 kB / 0.9746 GB, free: 52.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/1.382, allocations: 0 / 0.9746 GB, free: 52.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.382, allocations: 0 / 0.9746 GB, free: 52.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/1.382, allocations: 3.984 kB / 0.9746 GB, free: 52.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/1.383, allocations: 0.5745 MB / 0.9752 GB, free: 51.62 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.194e-05/1.383, allocations: 22.58 kB / 0.9752 GB, free: 51.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/1.383, allocations: 8.797 kB / 0.9752 GB, free: 51.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/1.383, allocations: 0.4976 MB / 0.9757 GB, free: 50.97 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/1.383, allocations: 34.5 kB / 0.9757 GB, free: 50.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.383, allocations: 0 / 0.9757 GB, free: 50.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002357/1.383, allocations: 41.69 kB / 0.9758 GB, free: 50.88 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/1.383, allocations: 55.44 kB / 0.9758 GB, free: 50.82 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.876e-05/1.383, allocations: 92.75 kB / 0.9759 GB, free: 50.72 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/1.383, allocations: 25.7 kB / 0.976 GB, free: 50.69 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/1.383, allocations: 99.72 kB / 0.976 GB, free: 50.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-06/1.383, allocations: 3.906 kB / 0.9761 GB, free: 50.59 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/1.383, allocations: 0 / 0.9761 GB, free: 50.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.273e-05/1.383, allocations: 310.8 kB / 0.9763 GB, free: 50.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/1.383, allocations: 7.938 kB / 0.9764 GB, free: 50.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/1.383, allocations: 21.97 kB / 0.9764 GB, free: 50.24 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/1.384, allocations: 19.97 kB / 0.9764 GB, free: 50.22 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.384, allocations: 0 / 0.9764 GB, free: 50.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001747/1.384, allocations: 57.62 kB / 0.9765 GB, free: 50.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/1.384, allocations: 4 kB / 0.9765 GB, free: 50.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.384, allocations: 3.953 kB / 0.9765 GB, free: 50.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.384, allocations: 7.984 kB / 0.9765 GB, free: 50.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/1.384, allocations: 4 kB / 0.9765 GB, free: 50.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.384, allocations: 4.062 kB / 0.9765 GB, free: 50.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/1.384, allocations: 0 / 0.9765 GB, free: 50.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/1.384, allocations: 4 kB / 0.9765 GB, free: 50.13 MB / 0.5886 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 5.94e-05/1.384, allocations: 101 kB / 0.9766 GB, free: 50.03 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/1.384, allocations: 3.938 kB / 0.9766 GB, free: 50.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/1.384, allocations: 117.6 kB / 0.9767 GB, free: 49.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-05/1.384, allocations: 180.2 kB / 0.9769 GB, free: 49.71 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.939e-05/1.384, allocations: 188.2 kB / 0.977 GB, free: 49.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.751e-05/1.384, allocations: 180.3 kB / 0.9772 GB, free: 49.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/1.384, allocations: 381.8 kB / 0.9776 GB, free: 48.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/1.384, allocations: 104.9 kB / 0.9777 GB, free: 48.81 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/1.384, allocations: 105 kB / 0.9778 GB, free: 48.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.864e-05/1.384, allocations: 180.3 kB / 0.978 GB, free: 48.52 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/1.385, allocations: 180.2 kB / 0.9781 GB, free: 48.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-05/1.385, allocations: 184.3 kB / 0.9783 GB, free: 48.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.718e-05/1.385, allocations: 184.3 kB / 0.9785 GB, free: 47.96 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.474e-05/1.385, allocations: 315.6 kB / 0.9788 GB, free: 47.63 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/1.385, allocations: 182.1 kB / 0.9789 GB, free: 47.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/1.385, allocations: 188.2 kB / 0.9791 GB, free: 47.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/1.385, allocations: 109 kB / 0.9792 GB, free: 47.12 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/1.385, allocations: 176.3 kB / 0.9794 GB, free: 46.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/1.385, allocations: 104.9 kB / 0.9795 GB, free: 46.83 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.753e-05/1.385, allocations: 91.23 kB / 0.9796 GB, free: 46.74 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/1.385, allocations: 0 / 0.9796 GB, free: 46.74 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003347/1.385, allocations: 83.91 kB / 0.9797 GB, free: 46.66 MB / 0.5886 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.0007991/1.386, allocations: 0.7164 MB / 0.9804 GB, free: 45.94 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.883e-05/1.386, allocations: 11.94 kB / 0.9804 GB, free: 45.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.386, allocations: 0 / 0.9804 GB, free: 45.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/1.386, allocations: 3.938 kB / 0.9804 GB, free: 45.93 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/1.387, allocations: 0.5238 MB / 0.9809 GB, free: 45.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001731/1.387, allocations: 127.3 kB / 0.981 GB, free: 45.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/1.387, allocations: 0.6768 MB / 0.9817 GB, free: 44.55 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.85e-05/1.387, allocations: 4 kB / 0.9817 GB, free: 44.54 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/1.387, allocations: 7.438 kB / 0.9817 GB, free: 44.54 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/1.387, allocations: 4 kB / 0.9817 GB, free: 44.54 MB / 0.5886 GB Notification: Performance of Templates: time 0.006075/1.393, allocations: 3.858 MB / 0.9855 GB, free: 40.68 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)