Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001193/0.001193, allocations: 108 kB / 15.61 MB, free: 128 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.001171/0.001171, allocations: 198 kB / 16.53 MB, free: 6.668 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.021/1.021, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.84 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1779, allocations: 82.03 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003059/0.181, allocations: 1.404 MB / 0.5957 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005406/0.1816, allocations: 199.4 kB / 0.5959 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.1816, allocations: 0 / 0.5959 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.1817, allocations: 0 / 0.5959 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.1818, allocations: 7.938 kB / 0.5959 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.182, allocations: 35.89 kB / 0.596 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.1821, allocations: 15.94 kB / 0.596 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1822, allocations: 11.98 kB / 0.596 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.1823, allocations: 7.938 kB / 0.596 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.1824, allocations: 11.98 kB / 0.596 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1824, allocations: 0 / 0.596 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1825, allocations: 27.97 kB / 0.5961 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.1825, allocations: 8 kB / 0.5961 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.1826, allocations: 11.92 kB / 0.5961 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.1827, allocations: 40.12 kB / 0.5961 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1827, allocations: 0 / 0.5961 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.126e-06/0.1827, allocations: 0 / 0.5961 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.1828, allocations: 0 / 0.5961 GB, free: 7.719 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.0004671/0.1832, allocations: 345.6 kB / 0.5964 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1833, allocations: 8.031 kB / 0.5964 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.1833, allocations: 30.75 kB / 0.5965 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.1835, allocations: 8.875 kB / 0.5965 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1836, allocations: 172.3 kB / 0.5967 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1836, allocations: 384 / 0.5967 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1836, allocations: 8.359 kB / 0.5967 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1838, allocations: 46.23 kB / 0.5967 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1838, allocations: 7.938 kB / 0.5967 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1838, allocations: 0 / 0.5967 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1838, allocations: 0 / 0.5967 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.184, allocations: 27.97 kB / 0.5967 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.1844, allocations: 268.8 kB / 0.597 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1845, allocations: 34.5 kB / 0.597 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.322e-05/0.1846, allocations: 24.89 kB / 0.597 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.1846, allocations: 0 / 0.597 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1847, allocations: 38.56 kB / 0.5971 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1847, allocations: 3.938 kB / 0.5971 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003663/0.1851, allocations: 81.58 kB / 0.5972 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1851, allocations: 55.41 kB / 0.5972 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.1852, allocations: 97.86 kB / 0.5973 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1852, allocations: 29.83 kB / 0.5973 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.1853, allocations: 80.14 kB / 0.5974 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.1853, allocations: 7.891 kB / 0.5974 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.1853, allocations: 17.72 kB / 0.5974 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1855, allocations: 310.8 kB / 0.5977 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.1856, allocations: 15.98 kB / 0.5978 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.1857, allocations: 19.97 kB / 0.5978 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.1858, allocations: 40.89 kB / 0.5978 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1858, allocations: 3.938 kB / 0.5978 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000202/0.1861, allocations: 65.59 kB / 0.5979 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1861, allocations: 10.5 kB / 0.5979 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1861, allocations: 0 / 0.5979 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1861, allocations: 4.031 kB / 0.5979 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1862, allocations: 7.984 kB / 0.5979 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1862, allocations: 4 kB / 0.5979 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.1863, allocations: 4 kB / 0.5979 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1863, allocations: 8 kB / 0.5979 GB, free: 5.637 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.436e-05/0.1864, allocations: 113.8 kB / 0.598 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1864, allocations: 0 / 0.598 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.1867, allocations: 80.72 kB / 0.5981 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1867, allocations: 0 / 0.5981 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1868, allocations: 7.938 kB / 0.5981 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1868, allocations: 0 / 0.5981 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1869, allocations: 165.5 kB / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.187, allocations: 0 / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.187, allocations: 11.98 kB / 0.5983 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.187, allocations: 0 / 0.5983 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1871, allocations: 0 / 0.5983 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1871, allocations: 4 kB / 0.5983 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1871, allocations: 0 / 0.5983 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1874, allocations: 175.7 kB / 0.5985 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.1874, allocations: 77.11 kB / 0.5985 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1874, allocations: 7.938 kB / 0.5985 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.1875, allocations: 7.984 kB / 0.5985 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.1876, allocations: 11.94 kB / 0.5986 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1876, allocations: 0 / 0.5986 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.1876, allocations: 83.27 kB / 0.5986 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1876, allocations: 0 / 0.5986 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002225/0.1879, allocations: 4 kB / 0.5986 GB, free: 4.805 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 (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.0005442/0.1884, allocations: 0.7007 MB / 0.5993 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1887, allocations: 43.89 kB / 0.5994 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1887, allocations: 0 / 0.5994 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.1888, allocations: 27.97 kB / 0.5994 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.1891, allocations: 0 / 0.5994 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.1895, allocations: 160.2 kB / 0.5995 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.1898, allocations: 0.6768 MB / 0.6002 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.1898, allocations: 0 / 0.6002 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1898, allocations: 11.44 kB / 0.6002 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of SimCode: time 5.42e-07/0.1898, allocations: 4 kB / 0.6002 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.2073, allocations: 1.348 MB / 0.6015 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.721, allocations: 3.797 kB / 0.6015 GB, free: 1.863 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)