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.001561/0.001561, allocations: 117 kB / 17.09 MB, free: 5.988 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.001183/0.001183, allocations: 197.5 kB / 18.03 MB, free: 5.062 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.219/1.219, 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.6758/0.6758, allocations: 115.3 MB / 407.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 66.69 kB / 0.5583 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1101, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.398/0.5081, allocations: 135.4 MB / 0.7649 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001332/0.5083, allocations: 47.75 kB / 0.765 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.5083, allocations: 0 / 0.765 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.49e-05/0.5084, allocations: 11.11 kB / 0.765 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.354e-05/0.5085, allocations: 10.72 kB / 0.765 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006893/0.5092, allocations: 236.7 kB / 0.7652 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.5093, allocations: 33.77 kB / 0.7652 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 2.878e-05/0.5094, allocations: 1.094 kB / 0.7652 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.579e-05/0.5094, allocations: 19 kB / 0.7653 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.5095, allocations: 14.06 kB / 0.7653 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.5095, allocations: 6.047 kB / 0.7653 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.5099, allocations: 241.2 kB / 0.7655 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.5099, allocations: 8.875 kB / 0.7655 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.51, allocations: 7.281 kB / 0.7655 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.5103, allocations: 186.6 kB / 0.7657 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5103, allocations: 1.125 kB / 0.7657 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5103, allocations: 0 / 0.7657 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.5103, allocations: 1.203 kB / 0.7657 GB, free: 15.4 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.0003582/0.5107, allocations: 353.6 kB / 0.766 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.5107, allocations: 12.88 kB / 0.7661 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.5107, allocations: 6.281 kB / 0.7661 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.576e-05/0.5108, allocations: 168.7 kB / 0.7662 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.5109, allocations: 32.41 kB / 0.7663 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.5109, allocations: 6.094 kB / 0.7663 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.511, allocations: 42.89 kB / 0.7663 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.511, allocations: 0 / 0.7663 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.5111, allocations: 0 / 0.7663 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.5111, allocations: 1.406 kB / 0.7663 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.5111, allocations: 23.06 kB / 0.7663 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.5118, allocations: 0.5942 MB / 0.7669 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.55e-05/0.5118, allocations: 30.77 kB / 0.7669 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.5118, allocations: 6.516 kB / 0.7669 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.512, allocations: 331.5 kB / 0.7673 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.5121, allocations: 38.03 kB / 0.7673 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 2.585e-06/0.5121, allocations: 3.984 kB / 0.7673 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.5122, allocations: 36.12 kB / 0.7673 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.5122, allocations: 54.66 kB / 0.7674 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.5123, allocations: 105.4 kB / 0.7675 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.5123, allocations: 26.91 kB / 0.7675 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.5124, allocations: 85.83 kB / 0.7676 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.194e-06/0.5124, allocations: 12.62 kB / 0.7676 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.5124, allocations: 22.44 kB / 0.7676 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.5125, allocations: 315.3 kB / 0.7679 GB, free: 13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.5125, allocations: 1.406 kB / 0.7679 GB, free: 13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.5125, allocations: 15.88 kB / 0.7679 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/0.5126, allocations: 21.67 kB / 0.768 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5126, allocations: 4 kB / 0.768 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.574e-05/0.5127, allocations: 51.2 kB / 0.768 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.5127, allocations: 5.219 kB / 0.768 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5127, allocations: 4.422 kB / 0.768 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.5127, allocations: 0 / 0.768 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-05/0.5128, allocations: 6.125 kB / 0.768 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.5128, allocations: 0 / 0.768 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.5128, allocations: 3.281 kB / 0.768 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.5128, allocations: 0 / 0.768 GB, free: 12.93 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 6.233e-05/0.5129, allocations: 126.5 kB / 0.7682 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.5129, allocations: 1.75 kB / 0.7682 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-05/0.513, allocations: 116.2 kB / 0.7683 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.471e-05/0.513, allocations: 179.4 kB / 0.7684 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/0.5131, allocations: 109 kB / 0.7685 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.5132, allocations: 188.7 kB / 0.7687 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.5132, allocations: 191.2 kB / 0.7689 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.5134, allocations: 105.8 kB / 0.769 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.5134, allocations: 176.3 kB / 0.7692 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.362e-05/0.5135, allocations: 260.8 kB / 0.7694 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000134/0.5136, allocations: 383.4 kB / 0.7698 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.87e-05/0.5137, allocations: 102.1 kB / 0.7699 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.5137, allocations: 93.97 kB / 0.77 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of Backend: time 2.91e-07/0.5137, allocations: 0 / 0.77 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.5142, allocations: 164.1 kB / 0.7701 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0004438/0.5147, allocations: 0.8559 MB / 0.771 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of Templates: time 0.003058/0.5177, allocations: 1.2 MB / 0.7721 GB, free: 9.754 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)