Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_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.001355/0.001355, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7484/0.7484, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 64.03 kB / 0.5019 GB, free: 8.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.15, allocations: 80.2 MB / 0.5802 GB, free: 8.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3829/0.533, allocations: 135.4 MB / 0.7124 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001721/0.5332, allocations: 50.84 kB / 0.7125 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.5333, allocations: 0 / 0.7125 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.5334, allocations: 6.562 kB / 0.7125 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.727e-05/0.5335, allocations: 20.34 kB / 0.7125 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008266/0.5343, allocations: 232.2 kB / 0.7127 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.488e-05/0.5344, allocations: 36.98 kB / 0.7128 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.5345, allocations: 4.078 kB / 0.7128 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.242e-05/0.5345, allocations: 13.97 kB / 0.7128 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.405e-05/0.5346, allocations: 20.56 kB / 0.7128 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.5346, allocations: 1.188 kB / 0.7128 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004738/0.5351, allocations: 242.3 kB / 0.713 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.5351, allocations: 12.5 kB / 0.713 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.5352, allocations: 9.219 kB / 0.713 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.5355, allocations: 193.4 kB / 0.7132 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5355, allocations: 0 / 0.7132 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5355, allocations: 0 / 0.7132 GB, free: 15.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5355, allocations: 0 / 0.7132 GB, free: 15.04 MB / 0.545 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.0003892/0.5359, allocations: 365.7 kB / 0.7136 GB, free: 14.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.536, allocations: 9.375 kB / 0.7136 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.536, allocations: 32.95 kB / 0.7136 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.5361, allocations: 2.094 kB / 0.7136 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.5362, allocations: 169.2 kB / 0.7138 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.5362, allocations: 28.03 kB / 0.7138 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-06/0.5362, allocations: 5.219 kB / 0.7138 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.5364, allocations: 45.34 kB / 0.7139 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5364, allocations: 4 kB / 0.7139 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.5364, allocations: 0 / 0.7139 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.5364, allocations: 1.844 kB / 0.7139 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.049e-05/0.5365, allocations: 17.2 kB / 0.7139 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.5372, allocations: 0.5918 MB / 0.7145 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/0.5373, allocations: 22.02 kB / 0.7145 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.5373, allocations: 10.2 kB / 0.7145 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.5375, allocations: 342.3 kB / 0.7148 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.5375, allocations: 32.16 kB / 0.7148 GB, free: 13.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.5375, allocations: 0 / 0.7148 GB, free: 13.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.5377, allocations: 37.08 kB / 0.7149 GB, free: 13.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.5377, allocations: 52.84 kB / 0.7149 GB, free: 13.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.5378, allocations: 101.7 kB / 0.715 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.5378, allocations: 31.27 kB / 0.7151 GB, free: 13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.5378, allocations: 89.55 kB / 0.7151 GB, free: 12.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.5379, allocations: 6.938 kB / 0.7151 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.5379, allocations: 19.2 kB / 0.7152 GB, free: 12.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.538, allocations: 317.4 kB / 0.7155 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.538, allocations: 7.438 kB / 0.7155 GB, free: 12.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.538, allocations: 21.27 kB / 0.7155 GB, free: 12.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.5381, allocations: 25.94 kB / 0.7155 GB, free: 12.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5381, allocations: 0 / 0.7155 GB, free: 12.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.205e-05/0.5382, allocations: 50.02 kB / 0.7156 GB, free: 12.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5382, allocations: 6.016 kB / 0.7156 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5382, allocations: 3.938 kB / 0.7156 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.5382, allocations: 1.281 kB / 0.7156 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.815e-05/0.5383, allocations: 5.891 kB / 0.7156 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.5383, allocations: 5.984 kB / 0.7156 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.5383, allocations: 5.219 kB / 0.7156 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.5383, allocations: 5.25 kB / 0.7156 GB, free: 12.47 MB / 0.545 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.278e-05/0.5384, allocations: 109.5 kB / 0.7157 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.5384, allocations: 1.281 kB / 0.7157 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.5385, allocations: 126.3 kB / 0.7158 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.067e-05/0.5386, allocations: 182.1 kB / 0.716 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-05/0.5387, allocations: 180.8 kB / 0.7162 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-05/0.5387, allocations: 178 kB / 0.7163 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.5389, allocations: 413.4 kB / 0.7167 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.889e-05/0.539, allocations: 105.6 kB / 0.7168 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.539, allocations: 102.7 kB / 0.7169 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.124e-05/0.5391, allocations: 186.2 kB / 0.7171 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/0.5391, allocations: 178.2 kB / 0.7173 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.97e-05/0.5392, allocations: 182.1 kB / 0.7175 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.618e-05/0.5393, allocations: 181 kB / 0.7176 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.5394, allocations: 310.9 kB / 0.7179 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.5395, allocations: 184.5 kB / 0.7181 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.5395, allocations: 182.5 kB / 0.7183 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.5397, allocations: 109.9 kB / 0.7184 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.5398, allocations: 181.9 kB / 0.7186 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.5398, allocations: 106.8 kB / 0.7187 GB, free: 9.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.5399, allocations: 94.58 kB / 0.7187 GB, free: 9.094 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5399, allocations: 0 / 0.7187 GB, free: 9.094 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003233/0.5402, allocations: 56.36 kB / 0.7188 GB, free: 9.078 MB / 0.545 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.0005404/0.5407, allocations: 0.8854 MB / 0.7197 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.562e-05/0.5408, allocations: 15.64 kB / 0.7197 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5408, allocations: 0 / 0.7197 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5408, allocations: 1.531 kB / 0.7197 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.5412, allocations: 463.9 kB / 0.7201 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009634/0.5422, allocations: 1.328 MB / 0.7214 GB, free: 6.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.5424, allocations: 0.6751 MB / 0.7221 GB, free: 5.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.147e-05/0.5425, allocations: 9.281 kB / 0.7221 GB, free: 5.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.5425, allocations: 17.3 kB / 0.7221 GB, free: 5.742 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5425, allocations: 0 / 0.7221 GB, free: 5.742 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.5608, allocations: 2.17 MB / 0.7242 GB, free: 5.297 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.909, allocations: 9.047 kB / 0.7242 GB, free: 5.297 MB / 0.545 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)