Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001115/0.001115, allocations: 108 kB / 15.61 MB, free: 152 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.001568/0.001568, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8128/0.8128, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 59.09 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4491, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003407/0.4525, allocations: 1.404 MB / 0.5816 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005998/0.4532, allocations: 203.9 kB / 0.5818 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.4532, allocations: 0.8125 kB / 0.5818 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.4533, allocations: 3.938 kB / 0.5818 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.4533, allocations: 6.234 kB / 0.5818 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.4536, allocations: 18.91 kB / 0.5818 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.617e-05/0.4537, allocations: 32.69 kB / 0.5818 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.4538, allocations: 8.516 kB / 0.5818 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.4539, allocations: 10.12 kB / 0.5818 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.4539, allocations: 14.44 kB / 0.5818 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.4539, allocations: 1.75 kB / 0.5818 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.454, allocations: 28.8 kB / 0.5819 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.4541, allocations: 2.281 kB / 0.5819 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.4541, allocations: 11.91 kB / 0.5819 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.4542, allocations: 38.67 kB / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4542, allocations: 0.6562 kB / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4543, allocations: 5.406 kB / 0.5819 GB, free: 3.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.4543, allocations: 0 / 0.5819 GB, free: 3.379 MB / 430.1 MB 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.0004077/0.4547, allocations: 337.5 kB / 0.5823 GB, free: 3.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4547, allocations: 10.25 kB / 0.5823 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.4548, allocations: 36.03 kB / 0.5823 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.4549, allocations: 4.844 kB / 0.5823 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.18e-05/0.455, allocations: 166.4 kB / 0.5825 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.455, allocations: 1.594 kB / 0.5825 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.455, allocations: 5.344 kB / 0.5825 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.4552, allocations: 53.86 kB / 0.5825 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4552, allocations: 5.031 kB / 0.5825 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.4552, allocations: 0 / 0.5825 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4552, allocations: 0.5625 kB / 0.5825 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.4554, allocations: 36.34 kB / 0.5826 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.4557, allocations: 252.1 kB / 0.5828 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.4558, allocations: 40.75 kB / 0.5828 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/0.4559, allocations: 28.28 kB / 0.5829 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.456, allocations: 0 / 0.5829 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.456, allocations: 32.5 kB / 0.5829 GB, free: 2.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.456, allocations: 4 kB / 0.5829 GB, free: 2.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003585/0.4563, allocations: 79.83 kB / 0.583 GB, free: 2.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.4564, allocations: 57.05 kB / 0.583 GB, free: 2.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.443e-05/0.4564, allocations: 96.14 kB / 0.5831 GB, free: 2.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-06/0.4565, allocations: 26.83 kB / 0.5831 GB, free: 2.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.703e-05/0.4565, allocations: 85.84 kB / 0.5832 GB, free: 2.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.4565, allocations: 13.89 kB / 0.5832 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.4565, allocations: 12.64 kB / 0.5833 GB, free: 2.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.4566, allocations: 317.1 kB / 0.5836 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-05/0.4567, allocations: 17 kB / 0.5836 GB, free: 1.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.4568, allocations: 18.31 kB / 0.5836 GB, free: 1.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.4569, allocations: 41.55 kB / 0.5836 GB, free: 1.668 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.457, allocations: 3.938 kB / 0.5836 GB, free: 1.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001934/0.4572, allocations: 64.05 kB / 0.5837 GB, free: 1.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4572, allocations: 6.422 kB / 0.5837 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4572, allocations: 0 / 0.5837 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4572, allocations: 0 / 0.5837 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.4573, allocations: 8.969 kB / 0.5837 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4573, allocations: 1.75 kB / 0.5837 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.4574, allocations: 13.98 kB / 0.5837 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.4574, allocations: 3.938 kB / 0.5837 GB, free: 1.617 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.176e-05/0.4575, allocations: 116.1 kB / 0.5838 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.4575, allocations: 6.25 kB / 0.5838 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.4577, allocations: 74.5 kB / 0.5839 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.4578, allocations: 5.672 kB / 0.5839 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4578, allocations: 0 / 0.5839 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4578, allocations: 0.9062 kB / 0.5839 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.4579, allocations: 161.2 kB / 0.5841 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4579, allocations: 0 / 0.5841 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.458, allocations: 10.77 kB / 0.5841 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.458, allocations: 0 / 0.5841 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.458, allocations: 1.531 kB / 0.5841 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.458, allocations: 1.281 kB / 0.5841 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.458, allocations: 0 / 0.5841 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.4582, allocations: 173.9 kB / 0.5843 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.872e-05/0.4583, allocations: 79.39 kB / 0.5843 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.4583, allocations: 1.281 kB / 0.5843 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.4584, allocations: 6.094 kB / 0.5843 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.4584, allocations: 6.984 kB / 0.5843 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.4584, allocations: 4.906 kB / 0.5843 GB, free: 1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.219e-05/0.4584, allocations: 83.73 kB / 0.5844 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.4585, allocations: 0 / 0.5844 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.4587, allocations: 8.719 kB / 0.5844 GB, free: 0.918 MB / 430.1 MB 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 (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 Backend phase and start with SimCode phase: time 0.0003602/0.459, allocations: 0.7133 MB / 0.5851 GB, free: 240 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.4593, allocations: 41.22 kB / 0.5852 GB, free: 232 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4593, allocations: 0 / 0.5852 GB, free: 232 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.915e-05/0.4594, allocations: 19.25 kB / 0.5852 GB, free: 232 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.4597, allocations: 6.203 kB / 0.5852 GB, free: 228 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.4601, allocations: 153 kB / 0.5853 GB, free: 64 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.4603, allocations: 0.6802 MB / 0.586 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.356e-05/0.4604, allocations: 2 kB / 0.586 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.4604, allocations: 14.58 kB / 0.586 GB, free: 15.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4604, allocations: 0 / 0.586 GB, free: 15.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.4788, allocations: 1.32 MB / 0.5873 GB, free: 15.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.271/7.75, allocations: 4.031 kB / 0.5873 GB, free: 15.03 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_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_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)