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.001173/0.001173, allocations: 105.4 kB / 16.27 MB, free: 6.41 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.001329/0.001329, allocations: 186.2 kB / 17.2 MB, free: 5.953 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.289/1.289, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7434/0.7434, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.319, allocations: 77.91 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1416/0.4606, allocations: 135.4 MB / 0.6995 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001987/0.4609, allocations: 51.67 kB / 0.6995 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.4609, allocations: 4 kB / 0.6995 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.461, allocations: 4 kB / 0.6995 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.922e-05/0.4612, allocations: 11.91 kB / 0.6995 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.4621, allocations: 240.3 kB / 0.6998 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.19e-05/0.4622, allocations: 31.86 kB / 0.6998 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.4623, allocations: 0 / 0.6998 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.4623, allocations: 23.97 kB / 0.6998 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.4624, allocations: 7.938 kB / 0.6998 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.4624, allocations: 4 kB / 0.6998 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.4628, allocations: 243.4 kB / 0.7001 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.4629, allocations: 7.984 kB / 0.7001 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.4629, allocations: 15.92 kB / 0.7001 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.4633, allocations: 178 kB / 0.7003 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4633, allocations: 0 / 0.7003 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4633, allocations: 4 kB / 0.7003 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4633, allocations: 0 / 0.7003 GB, free: 2.188 MB / 0.5294 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.0003825/0.4637, allocations: 363.3 kB / 0.7006 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4637, allocations: 12.62 kB / 0.7006 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.4638, allocations: 34.73 kB / 0.7006 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.4638, allocations: 0.9375 kB / 0.7006 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.4639, allocations: 164.4 kB / 0.7008 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.464, allocations: 34.02 kB / 0.7008 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.464, allocations: 7.984 kB / 0.7008 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.4641, allocations: 37.69 kB / 0.7009 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.4641, allocations: 0 / 0.7009 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4641, allocations: 7.984 kB / 0.7009 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.4642, allocations: 0 / 0.7009 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.462e-05/0.4642, allocations: 19.92 kB / 0.7009 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000667/0.4649, allocations: 0.595 MB / 0.7015 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.073e-05/0.4649, allocations: 18.58 kB / 0.7015 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.4649, allocations: 8.859 kB / 0.7015 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.4651, allocations: 336.5 kB / 0.7018 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.4652, allocations: 34.55 kB / 0.7019 GB, free: 216 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4652, allocations: 0 / 0.7019 GB, free: 216 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.4653, allocations: 37.64 kB / 0.7019 GB, free: 172 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.4653, allocations: 55.53 kB / 0.702 GB, free: 104 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.4654, allocations: 105.8 kB / 0.7021 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.4655, allocations: 25.7 kB / 0.7021 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.4655, allocations: 88.14 kB / 0.7022 GB, free: 15.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-06/0.4655, allocations: 11.78 kB / 0.7022 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.4656, allocations: 13.72 kB / 0.7022 GB, free: 15.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4657, allocations: 318.8 kB / 0.7025 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.4657, allocations: 8 kB / 0.7025 GB, free: 15.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.4657, allocations: 17.72 kB / 0.7025 GB, free: 15.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.4657, allocations: 21.66 kB / 0.7025 GB, free: 15.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4658, allocations: 3.984 kB / 0.7025 GB, free: 15.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.025e-05/0.4658, allocations: 45.7 kB / 0.7026 GB, free: 15.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4658, allocations: 4 kB / 0.7026 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4659, allocations: 7.938 kB / 0.7026 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.4659, allocations: 8 kB / 0.7026 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.411e-05/0.4659, allocations: 11.98 kB / 0.7026 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4659, allocations: 3.984 kB / 0.7026 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.466, allocations: 3.938 kB / 0.7026 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.466, allocations: 0 / 0.7026 GB, free: 15.36 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.765e-05/0.466, allocations: 109.8 kB / 0.7027 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.4661, allocations: 3.906 kB / 0.7027 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.4662, allocations: 125 kB / 0.7029 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.447e-05/0.4662, allocations: 180.2 kB / 0.703 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-05/0.4663, allocations: 180.3 kB / 0.7032 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.284e-05/0.4664, allocations: 184.1 kB / 0.7034 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.4666, allocations: 405.2 kB / 0.7038 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/0.4666, allocations: 101 kB / 0.7039 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.4666, allocations: 112.9 kB / 0.704 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.979e-05/0.4667, allocations: 176.3 kB / 0.7041 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.4668, allocations: 184.2 kB / 0.7043 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.506e-05/0.4668, allocations: 184.3 kB / 0.7045 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.041e-05/0.4669, allocations: 180.2 kB / 0.7047 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.467, allocations: 307.8 kB / 0.7049 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.4671, allocations: 190 kB / 0.7051 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.4672, allocations: 176.3 kB / 0.7053 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.4673, allocations: 113.2 kB / 0.7054 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.4674, allocations: 180.3 kB / 0.7056 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.4674, allocations: 109 kB / 0.7057 GB, free: 12.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.669e-05/0.4675, allocations: 87.27 kB / 0.7058 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4675, allocations: 0 / 0.7058 GB, free: 11.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002848/0.4678, allocations: 55.94 kB / 0.7058 GB, free: 11.87 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.0005547/0.4683, allocations: 0.8988 MB / 0.7067 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.177e-05/0.4684, allocations: 4 kB / 0.7067 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4684, allocations: 3.938 kB / 0.7067 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.4684, allocations: 8.062 kB / 0.7067 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.4688, allocations: 463.6 kB / 0.7072 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/0.4698, allocations: 1.344 MB / 0.7085 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.47, allocations: 0.6768 MB / 0.7091 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.495e-05/0.4701, allocations: 10.28 kB / 0.7091 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.4701, allocations: 7.438 kB / 0.7091 GB, free: 8.316 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4701, allocations: 0 / 0.7091 GB, free: 8.316 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.4878, allocations: 2.187 MB / 0.7113 GB, free: 6.246 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.965/7.453, allocations: 3.453 kB / 0.7113 GB, free: 6.246 MB / 0.545 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)