Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_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.005165/0.005165, allocations: 101.1 kB / 15.73 MB, free: 6.445 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.001352/0.001352, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8354/0.8354, allocations: 132.2 MB / 422.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 66.89 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1601, allocations: 80.2 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002871/0.1631, allocations: 1.408 MB / 0.6605 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1642, allocations: 0.5967 MB / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.1643, allocations: 0 / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.1643, allocations: 4 kB / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.416e-05/0.1644, allocations: 7.938 kB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.1649, allocations: 95.56 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.491e-05/0.165, allocations: 35.8 kB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1651, allocations: 4 kB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.902e-05/0.1652, allocations: 11.98 kB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/0.1652, allocations: 11.92 kB / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1653, allocations: 4 kB / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.1656, allocations: 143.8 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.1656, allocations: 7.984 kB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.1656, allocations: 11.94 kB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.1659, allocations: 99.97 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1659, allocations: 0 / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1659, allocations: 4 kB / 0.6616 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.166, allocations: 0 / 0.6616 GB, free: 11.58 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005585/0.1665, allocations: 363.1 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1666, allocations: 12.03 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.1666, allocations: 34.75 kB / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.1671, allocations: 28.91 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.1673, allocations: 168.3 kB / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1673, allocations: 4.375 kB / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.1673, allocations: 384 / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.1675, allocations: 73.89 kB / 0.6622 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1676, allocations: 0 / 0.6622 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1676, allocations: 0 / 0.6622 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1676, allocations: 0 / 0.6622 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.1679, allocations: 55.88 kB / 0.6623 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.1684, allocations: 288.7 kB / 0.6625 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1686, allocations: 50.55 kB / 0.6626 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.1688, allocations: 32.89 kB / 0.6626 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1688, allocations: 4 kB / 0.6626 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.1689, allocations: 38.55 kB / 0.6627 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.1689, allocations: 0 / 0.6627 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005689/0.1695, allocations: 113.6 kB / 0.6628 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1695, allocations: 55.44 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.1696, allocations: 101.8 kB / 0.6629 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1697, allocations: 25.7 kB / 0.6629 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.1697, allocations: 88.08 kB / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.1698, allocations: 3.953 kB / 0.663 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.1698, allocations: 17.72 kB / 0.663 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.17, allocations: 314.8 kB / 0.6633 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1701, allocations: 27.97 kB / 0.6634 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1702, allocations: 27.97 kB / 0.6634 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.1705, allocations: 60.81 kB / 0.6635 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1705, allocations: 3.938 kB / 0.6635 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003266/0.1708, allocations: 93.58 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1709, allocations: 4 kB / 0.6636 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1709, allocations: 0 / 0.6636 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1709, allocations: 0 / 0.6636 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.171, allocations: 16.02 kB / 0.6636 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1711, allocations: 0 / 0.6636 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/0.1712, allocations: 11.98 kB / 0.6636 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1712, allocations: 0 / 0.6636 GB, free: 9.27 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 8.443e-05/0.1713, allocations: 110.4 kB / 0.6637 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.1713, allocations: 7.984 kB / 0.6637 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1714, allocations: 11.12 kB / 0.6637 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1714, allocations: 0 / 0.6637 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1714, allocations: 0 / 0.6637 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1714, allocations: 0 / 0.6637 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.1716, allocations: 165.6 kB / 0.6639 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1716, allocations: 4 kB / 0.6639 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1717, allocations: 11.98 kB / 0.6639 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1717, allocations: 3.938 kB / 0.6639 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1717, allocations: 3.984 kB / 0.6639 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1717, allocations: 3.938 kB / 0.6639 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1717, allocations: 8 kB / 0.6639 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.1721, allocations: 179.4 kB / 0.6641 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.1722, allocations: 85.05 kB / 0.6641 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.1722, allocations: 0 / 0.6641 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.1723, allocations: 16.02 kB / 0.6642 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1724, allocations: 4 kB / 0.6642 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1724, allocations: 0 / 0.6642 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.1724, allocations: 83.22 kB / 0.6642 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1724, allocations: 0 / 0.6642 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002438/0.1727, allocations: 19.92 kB / 0.6643 GB, free: 8.469 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.0008238/0.1735, allocations: 0.7318 MB / 0.665 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.1739, allocations: 63.97 kB / 0.665 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1739, allocations: 0 / 0.665 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.174, allocations: 31.95 kB / 0.6651 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.1743, allocations: 2.578 kB / 0.6651 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006234/0.175, allocations: 168.2 kB / 0.6652 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1753, allocations: 0.6729 MB / 0.6659 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.782e-05/0.1754, allocations: 8 kB / 0.6659 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.1754, allocations: 15.42 kB / 0.6659 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1754, allocations: 0 / 0.6659 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.2004, allocations: 1.652 MB / 0.6675 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.275, allocations: 5.484 kB / 0.6675 GB, free: 5.172 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.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_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)