Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.HumidityRatioPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001162/0.001162, allocations: 108 kB / 15.6 MB, free: 132 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.001316/0.001316, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.051/1.051, allocations: 143 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1805, allocations: 82.05 MB / 0.5944 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00339/0.184, allocations: 1.647 MB / 0.596 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008313/0.1848, allocations: 402.7 kB / 0.5964 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1849, allocations: 0 / 0.5964 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.1851, allocations: 15.86 kB / 0.5964 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.489e-05/0.1852, allocations: 23.78 kB / 0.5964 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.1858, allocations: 130.9 kB / 0.5965 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.1859, allocations: 103.6 kB / 0.5966 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1861, allocations: 40.23 kB / 0.5967 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.609e-05/0.1862, allocations: 43.86 kB / 0.5967 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.1863, allocations: 35.84 kB / 0.5968 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.1863, allocations: 8 kB / 0.5968 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.1865, allocations: 59.95 kB / 0.5968 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.1865, allocations: 19.92 kB / 0.5968 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.1866, allocations: 55.7 kB / 0.5969 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.1868, allocations: 131.7 kB / 0.597 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1869, allocations: 3.938 kB / 0.597 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1869, allocations: 0 / 0.597 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.1869, allocations: 0 / 0.597 GB, free: 6.805 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006848/0.1876, allocations: 427 kB / 0.5974 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1876, allocations: 8.031 kB / 0.5974 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.1877, allocations: 38.75 kB / 0.5975 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.1879, allocations: 32.81 kB / 0.5975 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1882, allocations: 196.1 kB / 0.5977 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.1883, allocations: 34.27 kB / 0.5977 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.1883, allocations: 12.38 kB / 0.5977 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.1886, allocations: 97.95 kB / 0.5978 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1886, allocations: 0 / 0.5978 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1886, allocations: 4 kB / 0.5978 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1886, allocations: 4 kB / 0.5978 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.1889, allocations: 87.86 kB / 0.5979 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.1897, allocations: 376.5 kB / 0.5983 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.1902, allocations: 138.6 kB / 0.5984 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1904, allocations: 40.84 kB / 0.5985 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.1904, allocations: 3.984 kB / 0.5985 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1904, allocations: 42.55 kB / 0.5985 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.1904, allocations: 0 / 0.5985 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004508/0.1909, allocations: 129.5 kB / 0.5986 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.191, allocations: 59.34 kB / 0.5987 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1911, allocations: 135.7 kB / 0.5988 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1911, allocations: 25.7 kB / 0.5988 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.1912, allocations: 104 kB / 0.5989 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.1912, allocations: 23.64 kB / 0.599 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.1912, allocations: 25.72 kB / 0.599 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1914, allocations: 318.8 kB / 0.5993 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.1915, allocations: 23.98 kB / 0.5993 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1916, allocations: 45.69 kB / 0.5993 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1918, allocations: 90.22 kB / 0.5994 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1918, allocations: 3.984 kB / 0.5994 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002691/0.1921, allocations: 105.6 kB / 0.5995 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1921, allocations: 8 kB / 0.5995 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1921, allocations: 0 / 0.5995 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.1922, allocations: 7.875 kB / 0.5996 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1923, allocations: 23.95 kB / 0.5996 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1923, allocations: 4 kB / 0.5996 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.765e-05/0.1924, allocations: 11.92 kB / 0.5996 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1924, allocations: 4 kB / 0.5996 GB, free: 3.918 MB / 0.4981 GB 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 8.785e-05/0.1925, allocations: 113.8 kB / 0.5997 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.1926, allocations: 11.84 kB / 0.5997 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.1926, allocations: 12.72 kB / 0.5997 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1926, allocations: 3.938 kB / 0.5997 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1926, allocations: 4 kB / 0.5997 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1926, allocations: 0 / 0.5997 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.1928, allocations: 205.5 kB / 0.5999 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1929, allocations: 0 / 0.5999 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.193, allocations: 19.98 kB / 0.6 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.193, allocations: 0 / 0.6 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.193, allocations: 0 / 0.6 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.193, allocations: 7.938 kB / 0.6 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.193, allocations: 3.938 kB / 0.6 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.1933, allocations: 207.4 kB / 0.6002 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.1934, allocations: 81.02 kB / 0.6002 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1934, allocations: 4 kB / 0.6002 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1936, allocations: 15.92 kB / 0.6003 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.1936, allocations: 4 kB / 0.6003 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1936, allocations: 7.984 kB / 0.6003 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.109e-05/0.1937, allocations: 105.5 kB / 0.6004 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1937, allocations: 0 / 0.6004 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002547/0.194, allocations: 24 kB / 0.6004 GB, free: 3.008 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 (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.0005905/0.1946, allocations: 0.728 MB / 0.6011 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.1949, allocations: 83.88 kB / 0.6012 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1949, allocations: 0 / 0.6012 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.195, allocations: 35.97 kB / 0.6012 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.1954, allocations: 24.47 kB / 0.6012 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.1973, allocations: 1.561 MB / 0.6028 GB, free: 480 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2535/0.4509, allocations: 0.6945 MB / 0.6034 GB, free: 43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.451, allocations: 10.8 kB / 0.6035 GB, free: 43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.4511, allocations: 23.94 kB / 0.6035 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.4511, allocations: 0 / 0.6035 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.4676, allocations: 2.702 MB / 0.6061 GB, free: 42.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.418/7.886, allocations: 10.73 kB / 0.6061 GB, free: 42.72 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)