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.001262/0.001262, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001383/0.001384, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.268/1.268, allocations: 222.9 MB / 241 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.683/0.683, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 64.16 kB / 0.5577 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1517, allocations: 76.18 MB / 0.6321 GB, free: 4.566 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4947/0.6465, allocations: 135.4 MB / 0.7642 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001524/0.6467, allocations: 56.52 kB / 0.7643 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.6467, allocations: 1.203 kB / 0.7643 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.921e-05/0.6469, allocations: 2.109 kB / 0.7643 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.6469, allocations: 19.12 kB / 0.7643 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007307/0.6477, allocations: 230.5 kB / 0.7645 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.202e-05/0.6478, allocations: 36.27 kB / 0.7646 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.6478, allocations: 3.031 kB / 0.7646 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.6479, allocations: 20.06 kB / 0.7646 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.6479, allocations: 11.45 kB / 0.7646 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.6479, allocations: 1.156 kB / 0.7646 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.6483, allocations: 245.8 kB / 0.7648 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.6484, allocations: 9.109 kB / 0.7648 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.6484, allocations: 11.61 kB / 0.7649 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.6487, allocations: 180 kB / 0.765 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6487, allocations: 0 / 0.765 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.878e-06/0.6488, allocations: 0 / 0.765 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.6488, allocations: 3.938 kB / 0.765 GB, free: 15.38 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.0003743/0.6491, allocations: 365.3 kB / 0.7654 GB, free: 15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.6492, allocations: 7.875 kB / 0.7654 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.6492, allocations: 10.31 kB / 0.7654 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.6493, allocations: 165.3 kB / 0.7656 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.6494, allocations: 26.45 kB / 0.7656 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.6494, allocations: 8.266 kB / 0.7656 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.6495, allocations: 44.12 kB / 0.7656 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.6495, allocations: 0 / 0.7656 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.6495, allocations: 7.875 kB / 0.7656 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.6496, allocations: 3.5 kB / 0.7656 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.6496, allocations: 16.61 kB / 0.7657 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/0.6503, allocations: 0.5983 MB / 0.7662 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.368e-05/0.6504, allocations: 17.67 kB / 0.7663 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.407e-05/0.6504, allocations: 10.06 kB / 0.7663 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.6506, allocations: 335.8 kB / 0.7666 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.6506, allocations: 30.56 kB / 0.7666 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.6506, allocations: 0 / 0.7666 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000131/0.6508, allocations: 40.31 kB / 0.7667 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.6508, allocations: 53.56 kB / 0.7667 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.6509, allocations: 108.2 kB / 0.7668 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.6509, allocations: 29.83 kB / 0.7668 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.6509, allocations: 84.05 kB / 0.7669 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.674e-06/0.651, allocations: 9.953 kB / 0.7669 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.651, allocations: 18.78 kB / 0.7669 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6511, allocations: 318.5 kB / 0.7673 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.6511, allocations: 5.406 kB / 0.7673 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.6512, allocations: 15.28 kB / 0.7673 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/0.6512, allocations: 27.08 kB / 0.7673 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6512, allocations: 0 / 0.7673 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.901e-05/0.6513, allocations: 44.56 kB / 0.7673 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.6513, allocations: 5.594 kB / 0.7673 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.6513, allocations: 0 / 0.7673 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.6513, allocations: 4.062 kB / 0.7674 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.411e-05/0.6514, allocations: 9 kB / 0.7674 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.6514, allocations: 2.062 kB / 0.7674 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.6514, allocations: 7.281 kB / 0.7674 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.6514, allocations: 0 / 0.7674 GB, free: 12.9 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.632e-05/0.6515, allocations: 119.2 kB / 0.7675 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.6515, allocations: 0 / 0.7675 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.851e-05/0.6516, allocations: 117 kB / 0.7676 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.716e-05/0.6517, allocations: 184.2 kB / 0.7678 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.493e-05/0.6517, allocations: 188.2 kB / 0.7679 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-05/0.6518, allocations: 182.5 kB / 0.7681 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.652, allocations: 407.1 kB / 0.7685 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/0.6521, allocations: 103.4 kB / 0.7686 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.6521, allocations: 106.1 kB / 0.7687 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.817e-05/0.6522, allocations: 185 kB / 0.7689 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.6522, allocations: 183.9 kB / 0.7691 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.545e-05/0.6523, allocations: 178.7 kB / 0.7692 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-05/0.6523, allocations: 176.3 kB / 0.7694 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.6525, allocations: 316.5 kB / 0.7697 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.6525, allocations: 190.9 kB / 0.7699 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.6526, allocations: 177 kB / 0.7701 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.6528, allocations: 109.8 kB / 0.7702 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.6528, allocations: 183.7 kB / 0.7703 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.6529, allocations: 103.4 kB / 0.7704 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.6529, allocations: 83.88 kB / 0.7705 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6529, allocations: 4 kB / 0.7705 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000299/0.6532, allocations: 56.03 kB / 0.7706 GB, free: 9.527 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003147/0.6535, allocations: 263.5 kB / 0.7708 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.016e-05/0.6536, allocations: 12.77 kB / 0.7708 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6536, allocations: 0 / 0.7708 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.6536, allocations: 0 / 0.7708 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.654, allocations: 464 kB / 0.7713 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.6542, allocations: 175.7 kB / 0.7714 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.6545, allocations: 0.6783 MB / 0.7721 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.6545, allocations: 5.781 kB / 0.7721 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.6545, allocations: 10.09 kB / 0.7721 GB, free: 8 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/0.6545, allocations: 0 / 0.7721 GB, free: 8 MB / 0.5919 GB Notification: Performance of Templates: time 0.003268/0.6578, allocations: 1.288 MB / 0.7734 GB, free: 7.836 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)