Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_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.00577/0.00577, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001346/0.001346, allocations: 193.2 kB / 16.68 MB, free: 6.363 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002703/0.002704, allocations: 283 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 178.6 MB / 0.5074 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 103.8 kB / 0.6943 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5289/0.5316, allocations: 89.13 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003139/0.5348, allocations: 1.421 MB / 0.7827 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.536, allocations: 0.5916 MB / 0.7833 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.5361, allocations: 1.344 kB / 0.7833 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.5361, allocations: 0 / 0.7833 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.5362, allocations: 5.828 kB / 0.7833 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.5367, allocations: 99.56 kB / 0.7834 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.521e-05/0.5368, allocations: 25.52 kB / 0.7834 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.5369, allocations: 7.5 kB / 0.7834 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.449e-05/0.5369, allocations: 13.86 kB / 0.7834 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.537, allocations: 10.34 kB / 0.7834 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.537, allocations: 1.406 kB / 0.7834 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.5374, allocations: 144.4 kB / 0.7836 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.5375, allocations: 13.09 kB / 0.7836 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.5375, allocations: 11.97 kB / 0.7836 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.5378, allocations: 97.62 kB / 0.7837 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5379, allocations: 0 / 0.7837 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5379, allocations: 0 / 0.7837 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.5379, allocations: 1.828 kB / 0.7837 GB, free: 12.29 MB / 0.5606 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.0006521/0.5385, allocations: 366.9 kB / 0.784 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.5386, allocations: 10.34 kB / 0.7841 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.5386, allocations: 31.41 kB / 0.7841 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/0.5391, allocations: 34.98 kB / 0.7841 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.5393, allocations: 166.5 kB / 0.7843 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.5393, allocations: 6.25 kB / 0.7843 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.5393, allocations: 1.938 kB / 0.7843 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.5396, allocations: 69.84 kB / 0.7844 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.5396, allocations: 5.312 kB / 0.7844 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.5397, allocations: 4 kB / 0.7844 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5397, allocations: 0 / 0.7844 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.54, allocations: 51.3 kB / 0.7844 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.5405, allocations: 263.5 kB / 0.7847 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.5408, allocations: 68.59 kB / 0.7847 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.541, allocations: 34.66 kB / 0.7848 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.541, allocations: 0.6094 kB / 0.7848 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.541, allocations: 36.17 kB / 0.7848 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.541, allocations: 0 / 0.7848 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0006142/0.5417, allocations: 108.6 kB / 0.7849 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.5417, allocations: 56.12 kB / 0.785 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.5418, allocations: 105.8 kB / 0.7851 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.5419, allocations: 25.7 kB / 0.7851 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.5419, allocations: 82.36 kB / 0.7852 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.542, allocations: 12.55 kB / 0.7852 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.542, allocations: 19.09 kB / 0.7852 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.5422, allocations: 313.3 kB / 0.7855 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.5424, allocations: 29.3 kB / 0.7855 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.5425, allocations: 29.12 kB / 0.7855 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.5428, allocations: 59.14 kB / 0.7856 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5429, allocations: 8 kB / 0.7856 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003284/0.5432, allocations: 91.53 kB / 0.7857 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5432, allocations: 6.062 kB / 0.7857 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5432, allocations: 0.5625 kB / 0.7857 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.5433, allocations: 1.156 kB / 0.7857 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.5434, allocations: 16.3 kB / 0.7857 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5434, allocations: 5.953 kB / 0.7857 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/0.5435, allocations: 7.562 kB / 0.7857 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.5435, allocations: 1.828 kB / 0.7857 GB, free: 10.46 MB / 0.5606 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 0.0001015/0.5436, allocations: 112.7 kB / 0.7858 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.5437, allocations: 5.953 kB / 0.7858 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.5437, allocations: 4.188 kB / 0.7858 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5437, allocations: 5.938 kB / 0.7859 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5437, allocations: 3.938 kB / 0.7859 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5438, allocations: 0.5625 kB / 0.7859 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.544, allocations: 172.5 kB / 0.786 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.544, allocations: 0 / 0.786 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.5441, allocations: 17.33 kB / 0.786 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5441, allocations: 1.156 kB / 0.786 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5441, allocations: 2.469 kB / 0.786 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5441, allocations: 0 / 0.786 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5441, allocations: 0 / 0.786 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.5445, allocations: 188.5 kB / 0.7862 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.5446, allocations: 82.23 kB / 0.7863 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.5446, allocations: 5.5 kB / 0.7863 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.5448, allocations: 11.89 kB / 0.7863 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.5448, allocations: 3.203 kB / 0.7863 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.5448, allocations: 2.266 kB / 0.7863 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5e-05/0.5449, allocations: 79.44 kB / 0.7864 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5449, allocations: 0 / 0.7864 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002533/0.5452, allocations: 16.27 kB / 0.7864 GB, free: 9.789 MB / 0.5606 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.0009065/0.5461, allocations: 0.7276 MB / 0.7871 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.5465, allocations: 63.11 kB / 0.7872 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5465, allocations: 0 / 0.7872 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.5466, allocations: 29.36 kB / 0.7872 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.547, allocations: 3.156 kB / 0.7872 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/0.5477, allocations: 163.7 kB / 0.7874 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.5481, allocations: 0.6776 MB / 0.788 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.083e-05/0.5481, allocations: 18.62 kB / 0.7881 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.5482, allocations: 15.69 kB / 0.7881 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5482, allocations: 0 / 0.7881 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.5731, allocations: 1.677 MB / 0.7897 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.331, allocations: 18.44 kB / 0.7897 GB, free: 7.836 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)