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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 113.8 kB / 17.09 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 190.8 kB / 18.03 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7717/0.7717, allocations: 126.1 MB / 417.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 66.95 kB / 0.5737 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1191, allocations: 78.7 MB / 0.6506 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4252/0.5443, allocations: 135.4 MB / 0.7828 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.5445, allocations: 49.02 kB / 0.7828 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.5445, allocations: 4 kB / 0.7828 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.5446, allocations: 3.406 kB / 0.7828 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.911e-05/0.5447, allocations: 14.94 kB / 0.7828 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.5455, allocations: 241.4 kB / 0.7831 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.938e-05/0.5456, allocations: 39.11 kB / 0.7831 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.5457, allocations: 3.406 kB / 0.7831 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.5457, allocations: 16.23 kB / 0.7831 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.5458, allocations: 14.47 kB / 0.7831 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.5458, allocations: 1.219 kB / 0.7831 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.5463, allocations: 242.5 kB / 0.7834 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.5464, allocations: 10.16 kB / 0.7834 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.5464, allocations: 8.234 kB / 0.7834 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.5468, allocations: 187.9 kB / 0.7836 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5468, allocations: 1.531 kB / 0.7836 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5468, allocations: 4 kB / 0.7836 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.5468, allocations: 0 / 0.7836 GB, free: 14.34 MB / 0.5919 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.0003898/0.5472, allocations: 366.9 kB / 0.7839 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5472, allocations: 8.938 kB / 0.7839 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.5473, allocations: 2.094 kB / 0.7839 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.5474, allocations: 164 kB / 0.7841 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/0.5474, allocations: 31.53 kB / 0.7841 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.5475, allocations: 4.875 kB / 0.7841 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.5476, allocations: 46.84 kB / 0.7842 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5476, allocations: 4.344 kB / 0.7842 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.5476, allocations: 3.938 kB / 0.7842 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.5477, allocations: 3.016 kB / 0.7842 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.305e-05/0.5477, allocations: 15.5 kB / 0.7842 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.5484, allocations: 0.5956 MB / 0.7848 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.274e-05/0.5485, allocations: 22.94 kB / 0.7848 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.5485, allocations: 5.984 kB / 0.7848 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.5487, allocations: 335.8 kB / 0.7851 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.5487, allocations: 35.56 kB / 0.7852 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 2.154e-06/0.5487, allocations: 0 / 0.7852 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.5489, allocations: 39.8 kB / 0.7852 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.5489, allocations: 51.41 kB / 0.7853 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.575e-05/0.549, allocations: 111.7 kB / 0.7854 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.549, allocations: 26.89 kB / 0.7854 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.549, allocations: 89.22 kB / 0.7855 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-06/0.549, allocations: 0 / 0.7855 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.5491, allocations: 16.11 kB / 0.7855 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.5492, allocations: 318.5 kB / 0.7858 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.5492, allocations: 3 kB / 0.7858 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.5492, allocations: 23.89 kB / 0.7858 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/0.5493, allocations: 22.56 kB / 0.7858 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5493, allocations: 1.203 kB / 0.7858 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.466e-05/0.5494, allocations: 48.41 kB / 0.7859 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5494, allocations: 4.75 kB / 0.7859 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5494, allocations: 2.344 kB / 0.7859 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.5494, allocations: 1.219 kB / 0.7859 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.484e-05/0.5495, allocations: 11.19 kB / 0.7859 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.5495, allocations: 0 / 0.7859 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.5495, allocations: 8.984 kB / 0.7859 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.5495, allocations: 2.188 kB / 0.7859 GB, free: 11.86 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/0.5496, allocations: 115.7 kB / 0.786 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.5496, allocations: 3.5 kB / 0.786 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.5497, allocations: 119.4 kB / 0.7861 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.649e-05/0.5498, allocations: 183.4 kB / 0.7863 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.379e-05/0.5499, allocations: 106.3 kB / 0.7864 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.5499, allocations: 185.9 kB / 0.7866 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.55, allocations: 185.4 kB / 0.7868 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.5502, allocations: 110.9 kB / 0.7869 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.5502, allocations: 181.1 kB / 0.787 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.897e-05/0.5503, allocations: 262.7 kB / 0.7873 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001483/0.5505, allocations: 377.4 kB / 0.7877 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.771e-05/0.5505, allocations: 110.1 kB / 0.7878 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.898e-05/0.5506, allocations: 89.77 kB / 0.7878 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of Backend: time 2.11e-07/0.5506, allocations: 5.094 kB / 0.7879 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004819/0.5511, allocations: 155.4 kB / 0.788 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0004396/0.5515, allocations: 0.8618 MB / 0.7888 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of Templates: time 0.003343/0.5549, allocations: 1.197 MB / 0.79 GB, free: 8.691 MB / 0.5919 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)