Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",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.001207/0.001207, 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.001104/0.001104, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 279.2 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9276/0.9276, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 98.52 kB / 0.5953 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1736, allocations: 86.97 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002505/0.1761, allocations: 1.487 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1773, allocations: 0.8111 MB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.1773, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.1774, allocations: 7.922 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.599e-05/0.1775, allocations: 11.92 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.1779, allocations: 131.4 kB / 0.6827 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.178, allocations: 47.86 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1781, allocations: 15.92 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.54e-05/0.1781, allocations: 19.92 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.1782, allocations: 27.92 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1782, allocations: 4 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.1785, allocations: 171.7 kB / 0.6829 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.1785, allocations: 19.92 kB / 0.683 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.1786, allocations: 15.88 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.1788, allocations: 147.7 kB / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1788, allocations: 0 / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1788, allocations: 0 / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1788, allocations: 0 / 0.6831 GB, free: 13.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004851/0.1793, allocations: 399.2 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1794, allocations: 8.031 kB / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.1794, allocations: 30.75 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.1794, allocations: 8.844 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1796, allocations: 184.2 kB / 0.6837 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1796, allocations: 384 / 0.6837 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.1796, allocations: 4.375 kB / 0.6837 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.1798, allocations: 82.19 kB / 0.6838 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1799, allocations: 3.938 kB / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1799, allocations: 0 / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1799, allocations: 0 / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.1802, allocations: 71.92 kB / 0.6839 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1805, allocations: 288.6 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1807, allocations: 58.53 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.1809, allocations: 36.92 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.181, allocations: 89.09 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1811, allocations: 34.56 kB / 0.6844 GB, free: 12.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1811, allocations: 0 / 0.6844 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005281/0.1816, allocations: 129.5 kB / 0.6845 GB, free: 12.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.1817, allocations: 51.41 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.1817, allocations: 121.8 kB / 0.6846 GB, free: 11.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1818, allocations: 25.7 kB / 0.6847 GB, free: 11.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.1818, allocations: 96.12 kB / 0.6848 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1818, allocations: 7.812 kB / 0.6848 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.1819, allocations: 13.72 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.182, allocations: 318.8 kB / 0.6851 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1821, allocations: 39.95 kB / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1823, allocations: 27.97 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.1825, allocations: 72.72 kB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1825, allocations: 0 / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003117/0.1829, allocations: 101.6 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1829, allocations: 4 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1829, allocations: 0 / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1829, allocations: 3.984 kB / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.183, allocations: 15.98 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.183, allocations: 0 / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.238e-05/0.1831, allocations: 19.83 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.1831, allocations: 4 kB / 0.6854 GB, free: 11.13 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 (3): * Single equations (assignments): 3 * 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.837e-05/0.1832, allocations: 118.4 kB / 0.6855 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1832, allocations: 0 / 0.6855 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.1836, allocations: 113.8 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1836, allocations: 7.984 kB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1836, allocations: 4.047 kB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1836, allocations: 3.984 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1838, allocations: 169.6 kB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1838, allocations: 0 / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.1839, allocations: 23.97 kB / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1839, allocations: 0 / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1839, allocations: 0 / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1839, allocations: 0 / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1839, allocations: 0 / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.1843, allocations: 207.3 kB / 0.686 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.1843, allocations: 81.09 kB / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.1843, allocations: 0 / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1845, allocations: 15.92 kB / 0.6861 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1845, allocations: 4 kB / 0.6861 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1845, allocations: 8 kB / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.555e-05/0.1846, allocations: 91.27 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1846, allocations: 0 / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1848, allocations: 35.98 kB / 0.6862 GB, free: 10.16 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 (3): * Single equations (assignments): 3 * 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.0007013/0.1855, allocations: 0.7708 MB / 0.687 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.1859, allocations: 71.86 kB / 0.687 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1859, allocations: 0 / 0.687 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.186, allocations: 39.97 kB / 0.6871 GB, free: 9.258 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1864, allocations: 7.984 kB / 0.6871 GB, free: 9.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.1881, allocations: 1.421 MB / 0.6885 GB, free: 7.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1884, allocations: 0.6807 MB / 0.6891 GB, free: 7.047 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.1885, allocations: 7.906 kB / 0.6891 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.1885, allocations: 19.42 kB / 0.6892 GB, free: 7.02 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1885, allocations: 4 kB / 0.6892 GB, free: 7.016 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.2058, allocations: 2.44 MB / 0.6915 GB, free: 4.676 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/7.063, allocations: 8.219 kB / 0.6915 GB, free: 4.672 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX_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_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)