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: "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 100.7 kB / 16.4 MB, free: 6 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.001173/0.001173, allocations: 197.1 kB / 17.34 MB, free: 5.582 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7539/0.7539, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 62.41 kB / 0.5679 GB, free: 28.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1225, allocations: 77.94 MB / 0.644 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4407/0.5632, allocations: 135.4 MB / 0.7762 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001416/0.5634, allocations: 52.5 kB / 0.7763 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.5634, allocations: 0.5938 kB / 0.7763 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.103e-05/0.5635, allocations: 7.109 kB / 0.7763 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.5636, allocations: 15 kB / 0.7763 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.5644, allocations: 241.8 kB / 0.7765 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.486e-05/0.5645, allocations: 38.3 kB / 0.7766 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.5645, allocations: 2.188 kB / 0.7766 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.5646, allocations: 19.39 kB / 0.7766 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.5646, allocations: 8.922 kB / 0.7766 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.5646, allocations: 1.625 kB / 0.7766 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.5651, allocations: 246.5 kB / 0.7768 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.5652, allocations: 7.844 kB / 0.7768 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.5652, allocations: 10.31 kB / 0.7769 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.5656, allocations: 181.1 kB / 0.777 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5656, allocations: 0 / 0.777 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5656, allocations: 0 / 0.777 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.5656, allocations: 0 / 0.777 GB, free: 14.14 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.0003933/0.566, allocations: 374.3 kB / 0.7774 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5661, allocations: 11.06 kB / 0.7774 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.5661, allocations: 34.69 kB / 0.7774 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.5661, allocations: 2.594 kB / 0.7774 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.5663, allocations: 169.4 kB / 0.7776 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.5663, allocations: 29.52 kB / 0.7776 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.5663, allocations: 4.969 kB / 0.7776 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.5664, allocations: 42.38 kB / 0.7777 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.5665, allocations: 4 kB / 0.7777 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5665, allocations: 5.609 kB / 0.7777 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.5665, allocations: 1.531 kB / 0.7777 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.5665, allocations: 20.45 kB / 0.7777 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.5672, allocations: 0.5987 MB / 0.7783 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.21e-05/0.5673, allocations: 16.98 kB / 0.7783 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.5673, allocations: 10.02 kB / 0.7783 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.5675, allocations: 336.3 kB / 0.7786 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.5675, allocations: 34.11 kB / 0.7787 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.5675, allocations: 0 / 0.7787 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.5677, allocations: 39.34 kB / 0.7787 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.5677, allocations: 52.56 kB / 0.7787 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.5678, allocations: 105.1 kB / 0.7788 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.5678, allocations: 30.95 kB / 0.7789 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.5678, allocations: 88.97 kB / 0.779 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/0.5679, allocations: 1.094 kB / 0.779 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.5679, allocations: 16.12 kB / 0.779 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.568, allocations: 319 kB / 0.7793 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.568, allocations: 4.297 kB / 0.7793 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.568, allocations: 13.91 kB / 0.7793 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/0.5681, allocations: 30.61 kB / 0.7793 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5681, allocations: 0 / 0.7793 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.371e-05/0.5682, allocations: 43.91 kB / 0.7794 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.5682, allocations: 5.219 kB / 0.7794 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5682, allocations: 4.375 kB / 0.7794 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.5682, allocations: 1.203 kB / 0.7794 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.257e-05/0.5683, allocations: 8.781 kB / 0.7794 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.5683, allocations: 2.797 kB / 0.7794 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.5683, allocations: 11.2 kB / 0.7794 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.5683, allocations: 6.438 kB / 0.7794 GB, free: 11.61 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.976e-05/0.5684, allocations: 114.1 kB / 0.7795 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.5684, allocations: 1.062 kB / 0.7795 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.188e-05/0.5685, allocations: 116.6 kB / 0.7796 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.722e-05/0.5686, allocations: 184.4 kB / 0.7798 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-05/0.5686, allocations: 190.1 kB / 0.78 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.633e-05/0.5687, allocations: 180.2 kB / 0.7802 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.5689, allocations: 412.9 kB / 0.7805 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.785e-05/0.569, allocations: 101 kB / 0.7806 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.569, allocations: 107.1 kB / 0.7807 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.842e-05/0.5691, allocations: 182.8 kB / 0.7809 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.5691, allocations: 180.2 kB / 0.7811 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.343e-05/0.5692, allocations: 181.8 kB / 0.7813 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-05/0.5693, allocations: 176.3 kB / 0.7814 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.5694, allocations: 320.1 kB / 0.7817 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.5695, allocations: 184.6 kB / 0.7819 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.5695, allocations: 176.3 kB / 0.7821 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.5697, allocations: 107.2 kB / 0.7822 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.5698, allocations: 182.8 kB / 0.7824 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.5698, allocations: 104.3 kB / 0.7825 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.5698, allocations: 97.36 kB / 0.7826 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5698, allocations: 0 / 0.7826 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003094/0.5702, allocations: 54.44 kB / 0.7826 GB, free: 8.246 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.0005264/0.5707, allocations: 0.8923 MB / 0.7835 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.307e-05/0.5708, allocations: 11.75 kB / 0.7835 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5708, allocations: 0 / 0.7835 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.5708, allocations: 3.938 kB / 0.7835 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.5711, allocations: 461.9 kB / 0.7839 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.5721, allocations: 1.343 MB / 0.7852 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.5723, allocations: 0.6773 MB / 0.7859 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.018e-05/0.5724, allocations: 11.03 kB / 0.7859 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.5724, allocations: 9.469 kB / 0.7859 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.5724, allocations: 0 / 0.7859 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.588, allocations: 2.212 MB / 0.7881 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.122, allocations: 7.516 kB / 0.7881 GB, free: 4.422 MB / 0.5919 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)