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.00123/0.00123, 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.001336/0.001336, allocations: 196.2 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002317/0.002317, allocations: 279.1 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001698, allocations: 99.5 kB / 0.5953 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1513, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002634/0.1539, allocations: 1.411 MB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.1549, allocations: 0.5847 MB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.1549, allocations: 0 / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.155, allocations: 0 / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.1551, allocations: 13.58 kB / 0.6822 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.1555, allocations: 95.56 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.351e-05/0.1556, allocations: 24.8 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.1557, allocations: 12 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.1557, allocations: 7.984 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.1558, allocations: 11.94 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1558, allocations: 4 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.1561, allocations: 147.7 kB / 0.6825 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1561, allocations: 4 kB / 0.6825 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.1561, allocations: 11.92 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1564, allocations: 103.8 kB / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1564, allocations: 0 / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1564, allocations: 0 / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1564, allocations: 0 / 0.6826 GB, free: 14.14 MB / 494.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.0004293/0.1568, allocations: 359.5 kB / 0.683 GB, free: 13.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1569, allocations: 12.03 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.1569, allocations: 34.73 kB / 0.683 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000422/0.1573, allocations: 28.81 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.1575, allocations: 164.3 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1575, allocations: 4.375 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1575, allocations: 8.312 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.1577, allocations: 70.14 kB / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1577, allocations: 3.938 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1578, allocations: 0 / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1578, allocations: 3.984 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.158, allocations: 55.94 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.1584, allocations: 268.9 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.1587, allocations: 66.41 kB / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.1588, allocations: 32.89 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1588, allocations: 0 / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1589, allocations: 34.56 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1589, allocations: 0 / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004861/0.1594, allocations: 121.5 kB / 0.6839 GB, free: 12.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.1594, allocations: 55.41 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.1595, allocations: 93.86 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1595, allocations: 25.7 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.1595, allocations: 88.08 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.1596, allocations: 19.95 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1596, allocations: 9.719 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.1597, allocations: 318.8 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1598, allocations: 23.97 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.16, allocations: 27.97 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1602, allocations: 56.86 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1602, allocations: 3.938 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002939/0.1605, allocations: 89.64 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1605, allocations: 4 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1606, allocations: 0 / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1606, allocations: 3.984 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.1607, allocations: 15.92 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1607, allocations: 0 / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/0.1608, allocations: 11.98 kB / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1608, allocations: 0 / 0.6847 GB, free: 11.84 MB / 494.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 6.908e-05/0.1609, allocations: 119.1 kB / 0.6848 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.1609, allocations: 4 kB / 0.6848 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.161, allocations: 3.125 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.161, allocations: 0 / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.161, allocations: 3.984 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.161, allocations: 0 / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1612, allocations: 169.6 kB / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1612, allocations: 3.938 kB / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1613, allocations: 15.98 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1613, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1613, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1613, allocations: 3.984 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1613, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.1617, allocations: 195.3 kB / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.1617, allocations: 77.11 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1618, allocations: 3.984 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1619, allocations: 4 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1619, allocations: 7.984 kB / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1619, allocations: 0 / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.162, allocations: 83.28 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.162, allocations: 7.969 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.1622, allocations: 12 kB / 0.6853 GB, free: 11.04 MB / 494.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 (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.0006563/0.1629, allocations: 0.7319 MB / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.1632, allocations: 59.88 kB / 0.6861 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1632, allocations: 0 / 0.6861 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1634, allocations: 32.03 kB / 0.6862 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1637, allocations: 4.75 kB / 0.6862 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.1643, allocations: 163.1 kB / 0.6863 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.1645, allocations: 0.6768 MB / 0.687 GB, free: 9.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.064e-05/0.1646, allocations: 19.91 kB / 0.687 GB, free: 9.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.1647, allocations: 15.42 kB / 0.687 GB, free: 9.254 MB / 494.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1647, allocations: 0 / 0.687 GB, free: 9.254 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.1818, allocations: 1.654 MB / 0.6886 GB, free: 7.727 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/7.137, allocations: 9.656 kB / 0.6886 GB, free: 7.719 MB / 494.1 MB (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)