Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.006091/0.006091, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001305/0.001305, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8355/0.8355, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 61.94 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1567, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00238/0.1591, allocations: 1.272 MB / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.1601, allocations: 0.5814 MB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.1602, allocations: 0 / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.1602, allocations: 0 / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.1603, allocations: 11.92 kB / 0.661 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.1607, allocations: 95.5 kB / 0.6611 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.061e-05/0.1608, allocations: 15.94 kB / 0.6611 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.1609, allocations: 4 kB / 0.6611 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.03e-05/0.1609, allocations: 15.86 kB / 0.6611 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.161, allocations: 4 kB / 0.6611 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.161, allocations: 0 / 0.6611 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.1613, allocations: 139.8 kB / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.1613, allocations: 4 kB / 0.6613 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1614, allocations: 11.94 kB / 0.6613 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1616, allocations: 88.06 kB / 0.6614 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/0.1616, allocations: 7.938 kB / 0.6614 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1616, allocations: 0 / 0.6614 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.1616, allocations: 0 / 0.6614 GB, free: 8.496 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003975/0.162, allocations: 351.2 kB / 0.6617 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1621, allocations: 8.031 kB / 0.6617 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.1621, allocations: 34.75 kB / 0.6618 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/0.1626, allocations: 28.91 kB / 0.6618 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1627, allocations: 168.3 kB / 0.6619 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.1627, allocations: 384 / 0.6619 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.1627, allocations: 4.359 kB / 0.6619 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1629, allocations: 46.23 kB / 0.662 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1629, allocations: 3.938 kB / 0.662 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1629, allocations: 0 / 0.662 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.163, allocations: 8 kB / 0.662 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.1631, allocations: 23.97 kB / 0.662 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.1633, allocations: 153.7 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1634, allocations: 42.48 kB / 0.6622 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.1635, allocations: 20.92 kB / 0.6622 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1636, allocations: 3.984 kB / 0.6622 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1636, allocations: 34.55 kB / 0.6623 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1636, allocations: 0 / 0.6623 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003213/0.1639, allocations: 85.58 kB / 0.6624 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.164, allocations: 55.34 kB / 0.6624 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/0.164, allocations: 97.86 kB / 0.6625 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1641, allocations: 25.7 kB / 0.6625 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.1641, allocations: 80.14 kB / 0.6626 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.1641, allocations: 7.953 kB / 0.6626 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.1642, allocations: 13.7 kB / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1643, allocations: 318.8 kB / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.1644, allocations: 15.95 kB / 0.6629 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.089e-05/0.1644, allocations: 15.98 kB / 0.663 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1646, allocations: 24.84 kB / 0.663 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1646, allocations: 0 / 0.663 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.1648, allocations: 65.73 kB / 0.663 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1648, allocations: 7.938 kB / 0.663 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1648, allocations: 3.938 kB / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1648, allocations: 0 / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.165, allocations: 7.984 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.165, allocations: 4 kB / 0.6631 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.165, allocations: 3.984 kB / 0.6631 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.165, allocations: 0 / 0.6631 GB, free: 6.531 MB / 0.4981 GB 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 6.953e-05/0.1651, allocations: 114.8 kB / 0.6632 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.1651, allocations: 3.938 kB / 0.6632 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.1652, allocations: 7.125 kB / 0.6632 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1652, allocations: 0 / 0.6632 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1652, allocations: 0 / 0.6632 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1652, allocations: 4 kB / 0.6632 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.1653, allocations: 161.6 kB / 0.6633 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1653, allocations: 4 kB / 0.6634 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.1654, allocations: 8 kB / 0.6634 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1654, allocations: 3.938 kB / 0.6634 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1655, allocations: 3.984 kB / 0.6634 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1655, allocations: 0 / 0.6634 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1655, allocations: 4 kB / 0.6634 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1657, allocations: 85.05 kB / 0.6635 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.1658, allocations: 92.98 kB / 0.6635 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1658, allocations: 3.938 kB / 0.6635 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.045e-05/0.1658, allocations: 0 / 0.6635 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.1659, allocations: 0 / 0.6635 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1659, allocations: 7.984 kB / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.1659, allocations: 75.28 kB / 0.6636 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1659, allocations: 0 / 0.6636 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002081/0.1661, allocations: 12 kB / 0.6636 GB, free: 5.852 MB / 0.4981 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 (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 Backend phase and start with SimCode phase: time 0.0004939/0.1666, allocations: 0.6435 MB / 0.6643 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1668, allocations: 35.94 kB / 0.6643 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1669, allocations: 0 / 0.6643 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.086e-05/0.1669, allocations: 15.98 kB / 0.6643 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.1671, allocations: 7.984 kB / 0.6643 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.1676, allocations: 148.3 kB / 0.6645 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.1678, allocations: 0.6729 MB / 0.6651 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.019e-05/0.1679, allocations: 15.97 kB / 0.6651 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.168, allocations: 13.95 kB / 0.6651 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.168, allocations: 3.938 kB / 0.6652 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.1864, allocations: 1.556 MB / 0.6667 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.583, allocations: 16.84 kB / 0.6667 GB, free: 2.781 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_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_Functions_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)