Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001101/0.001101, 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.001107/0.001108, allocations: 195.3 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 286.8 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9439/0.9439, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 98.17 kB / 0.5953 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1629, allocations: 86.98 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003132/0.1661, allocations: 1.655 MB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007509/0.1669, allocations: 403 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.167, allocations: 4 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.1671, allocations: 11.86 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.111e-05/0.1672, allocations: 23.78 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.1676, allocations: 115.6 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1678, allocations: 107.5 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.1679, allocations: 47.89 kB / 0.6826 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.168, allocations: 35.91 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.1681, allocations: 43.78 kB / 0.6827 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1681, allocations: 8 kB / 0.6827 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1683, allocations: 63.95 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.1683, allocations: 27.91 kB / 0.6828 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.1684, allocations: 47.78 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1686, allocations: 123.6 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1686, allocations: 0 / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1686, allocations: 0 / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1686, allocations: 0 / 0.6829 GB, free: 13.92 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000713/0.1693, allocations: 411.2 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.1694, allocations: 12.03 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.1695, allocations: 42.75 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.1697, allocations: 36.72 kB / 0.6834 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1699, allocations: 200.6 kB / 0.6836 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/0.17, allocations: 34.27 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.17, allocations: 4.375 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.1703, allocations: 105.9 kB / 0.6837 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1703, allocations: 0 / 0.6837 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1704, allocations: 15.98 kB / 0.6837 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-06/0.1704, allocations: 0 / 0.6837 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.1706, allocations: 79.88 kB / 0.6838 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.1713, allocations: 392.5 kB / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.1718, allocations: 126.5 kB / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.172, allocations: 40.88 kB / 0.6844 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.172, allocations: 4 kB / 0.6844 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.172, allocations: 34.56 kB / 0.6844 GB, free: 12.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.172, allocations: 3.938 kB / 0.6844 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000409/0.1724, allocations: 141.6 kB / 0.6845 GB, free: 12.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.1725, allocations: 55.34 kB / 0.6846 GB, free: 12.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1726, allocations: 135.5 kB / 0.6847 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1726, allocations: 29.7 kB / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.1727, allocations: 92.14 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.1727, allocations: 28.16 kB / 0.6849 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1728, allocations: 17.72 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1729, allocations: 322.8 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.173, allocations: 31.97 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1731, allocations: 41.7 kB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1733, allocations: 82.08 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1733, allocations: 3.938 kB / 0.6853 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002534/0.1736, allocations: 117.5 kB / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1736, allocations: 4 kB / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1736, allocations: 4.031 kB / 0.6854 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1736, allocations: 3.938 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1738, allocations: 23.92 kB / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1738, allocations: 0 / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.1739, allocations: 15.83 kB / 0.6855 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.1739, allocations: 4 kB / 0.6855 GB, free: 11.03 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.459e-05/0.174, allocations: 115.2 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.174, allocations: 7.906 kB / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.1741, allocations: 20.7 kB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1741, allocations: 7.938 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1741, allocations: 0 / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1741, allocations: 0 / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1743, allocations: 193.6 kB / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1743, allocations: 0 / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.773e-05/0.1744, allocations: 15.98 kB / 0.6858 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1744, allocations: 0 / 0.6858 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1744, allocations: 4 kB / 0.6858 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1744, allocations: 7.938 kB / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1744, allocations: 7.922 kB / 0.6859 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1747, allocations: 203.4 kB / 0.6861 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.1748, allocations: 88.95 kB / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1748, allocations: 0 / 0.6861 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1749, allocations: 15.92 kB / 0.6862 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.175, allocations: 7.984 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.175, allocations: 8 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.601e-05/0.1751, allocations: 105.6 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1751, allocations: 0 / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1753, allocations: 23.84 kB / 0.6863 GB, free: 10.12 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 (7): * Single equations (assignments): 7 * 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.0005234/0.1759, allocations: 0.7397 MB / 0.687 GB, free: 9.355 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.1761, allocations: 75.88 kB / 0.6871 GB, free: 9.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1761, allocations: 0 / 0.6871 GB, free: 9.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1762, allocations: 35.98 kB / 0.6871 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1766, allocations: 36.66 kB / 0.6872 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.1784, allocations: 1.542 MB / 0.6887 GB, free: 7.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1786, allocations: 0.6963 MB / 0.6893 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.341e-05/0.1787, allocations: 16.66 kB / 0.6894 GB, free: 6.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.1788, allocations: 27.42 kB / 0.6894 GB, free: 6.824 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1788, allocations: 0 / 0.6894 GB, free: 6.824 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.1948, allocations: 2.712 MB / 0.692 GB, free: 4.262 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.189, allocations: 8 kB / 0.692 GB, free: 4.254 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure_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_HumidityRatioPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)