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.001722/0.001722, allocations: 101.3 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.001944/0.001944, allocations: 196.5 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.469/1.469, 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.8426/0.8426, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 74.94 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1403, allocations: 78.86 MB / 0.6505 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4674/0.6077, allocations: 135.4 MB / 0.7827 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001497/0.6079, allocations: 47.95 kB / 0.7828 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.6079, allocations: 0.625 kB / 0.7828 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.92e-05/0.608, allocations: 11.05 kB / 0.7828 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.6081, allocations: 8.078 kB / 0.7828 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.6089, allocations: 234.1 kB / 0.783 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.609, allocations: 34.92 kB / 0.7831 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.609, allocations: 10.67 kB / 0.7831 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.6091, allocations: 15.56 kB / 0.7831 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.6091, allocations: 14.86 kB / 0.7831 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.6092, allocations: 0 / 0.7831 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.6096, allocations: 244.4 kB / 0.7833 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.6097, allocations: 5.266 kB / 0.7833 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.6097, allocations: 11.45 kB / 0.7833 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.6101, allocations: 182.9 kB / 0.7835 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6101, allocations: 3.609 kB / 0.7835 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6101, allocations: 0 / 0.7835 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.6101, allocations: 4 kB / 0.7835 GB, free: 14.03 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.0004399/0.6105, allocations: 369.7 kB / 0.7839 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.6106, allocations: 9.531 kB / 0.7839 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.6106, allocations: 35.31 kB / 0.7839 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.6107, allocations: 4.656 kB / 0.7839 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.6108, allocations: 161.5 kB / 0.7841 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/0.6108, allocations: 31.05 kB / 0.7841 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.6109, allocations: 5.125 kB / 0.7841 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.611, allocations: 51.56 kB / 0.7842 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.611, allocations: 1.203 kB / 0.7842 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.611, allocations: 0 / 0.7842 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.611, allocations: 2.188 kB / 0.7842 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.6111, allocations: 16.95 kB / 0.7842 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007967/0.6119, allocations: 0.5925 MB / 0.7848 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/0.612, allocations: 26.22 kB / 0.7848 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.612, allocations: 5.922 kB / 0.7848 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.6122, allocations: 337.2 kB / 0.7851 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.6122, allocations: 32.98 kB / 0.7851 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.6122, allocations: 0 / 0.7851 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.6124, allocations: 37.23 kB / 0.7852 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.6124, allocations: 51.41 kB / 0.7852 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.6125, allocations: 110.6 kB / 0.7853 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.6126, allocations: 25.7 kB / 0.7854 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.6126, allocations: 87.45 kB / 0.7854 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-06/0.6126, allocations: 1 kB / 0.7854 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.6127, allocations: 17.34 kB / 0.7855 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6128, allocations: 317.7 kB / 0.7858 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.6128, allocations: 9.938 kB / 0.7858 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.6128, allocations: 24.17 kB / 0.7858 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.568e-05/0.6129, allocations: 19.56 kB / 0.7858 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6129, allocations: 0 / 0.7858 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.017e-05/0.613, allocations: 50.52 kB / 0.7859 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.613, allocations: 11.06 kB / 0.7859 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.613, allocations: 1.562 kB / 0.7859 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.613, allocations: 0 / 0.7859 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.6131, allocations: 7.422 kB / 0.7859 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6131, allocations: 5.094 kB / 0.7859 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.6131, allocations: 5.328 kB / 0.7859 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.6131, allocations: 7.641 kB / 0.7859 GB, free: 11.51 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.6e-05/0.6132, allocations: 106.9 kB / 0.786 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.6132, allocations: 1.188 kB / 0.786 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.6134, allocations: 124.2 kB / 0.7861 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.048e-05/0.6134, allocations: 181.4 kB / 0.7863 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.46e-05/0.6135, allocations: 189.1 kB / 0.7865 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.241e-05/0.6136, allocations: 181.4 kB / 0.7866 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.6139, allocations: 404.7 kB / 0.787 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-05/0.6139, allocations: 110.6 kB / 0.7871 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.614, allocations: 102.1 kB / 0.7872 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.338e-05/0.614, allocations: 185.3 kB / 0.7874 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-05/0.6141, allocations: 178.5 kB / 0.7876 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.066e-05/0.6142, allocations: 179.8 kB / 0.7878 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.031e-05/0.6143, allocations: 181.3 kB / 0.7879 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.6144, allocations: 317.7 kB / 0.7882 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.6145, allocations: 181.7 kB / 0.7884 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.6146, allocations: 184.4 kB / 0.7886 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.6148, allocations: 106.3 kB / 0.7887 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.6149, allocations: 177.3 kB / 0.7888 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.6149, allocations: 114 kB / 0.789 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.615, allocations: 89.73 kB / 0.789 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.615, allocations: 1.203 kB / 0.789 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003421/0.6153, allocations: 58.86 kB / 0.7891 GB, free: 8.133 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.0006524/0.616, allocations: 0.8811 MB / 0.79 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.405e-05/0.6161, allocations: 15.45 kB / 0.79 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6161, allocations: 1.094 kB / 0.79 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.6161, allocations: 0.9062 kB / 0.79 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.6165, allocations: 459.1 kB / 0.7904 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.6176, allocations: 1.344 MB / 0.7917 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.6179, allocations: 0.6767 MB / 0.7924 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.164e-05/0.618, allocations: 8.5 kB / 0.7924 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.618, allocations: 13.33 kB / 0.7924 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.618, allocations: 0 / 0.7924 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.6415, allocations: 2.208 MB / 0.7946 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.576, allocations: 2.781 kB / 0.7946 GB, free: 4.332 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)