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.004385/0.00439, allocations: 99.12 kB / 15.73 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 200 kB / 16.68 MB, free: 6.352 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002242/0.002242, allocations: 279 kB / 290.8 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9926/0.9926, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 92.06 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1905, allocations: 86.97 MB / 0.7659 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003671/0.1942, allocations: 1.67 MB / 0.7675 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008816/0.1951, allocations: 403.3 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1953, allocations: 3.938 kB / 0.7679 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.1954, allocations: 11.86 kB / 0.7679 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.1955, allocations: 19.8 kB / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.1961, allocations: 122.8 kB / 0.7681 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.1963, allocations: 111.6 kB / 0.7682 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1964, allocations: 52.11 kB / 0.7682 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.426e-05/0.1965, allocations: 35.92 kB / 0.7682 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.1966, allocations: 43.78 kB / 0.7683 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1967, allocations: 12 kB / 0.7683 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.1969, allocations: 63.94 kB / 0.7684 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.1969, allocations: 19.91 kB / 0.7684 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.197, allocations: 43.8 kB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.1973, allocations: 135.5 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1973, allocations: 0 / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1973, allocations: 0 / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.1973, allocations: 0 / 0.7685 GB, free: 6.242 MB / 0.5606 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.0007262/0.1981, allocations: 426.9 kB / 0.769 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1981, allocations: 8.031 kB / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/0.1982, allocations: 42.73 kB / 0.769 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.1985, allocations: 28.83 kB / 0.769 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.1988, allocations: 188.2 kB / 0.7692 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/0.1989, allocations: 38.25 kB / 0.7692 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1989, allocations: 12.31 kB / 0.7693 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.1992, allocations: 113.8 kB / 0.7694 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1993, allocations: 4 kB / 0.7694 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1993, allocations: 4 kB / 0.7694 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.1993, allocations: 4 kB / 0.7694 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.1996, allocations: 75.94 kB / 0.7694 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007394/0.2003, allocations: 392.4 kB / 0.7698 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.2009, allocations: 122.6 kB / 0.7699 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.201, allocations: 40.88 kB / 0.77 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.201, allocations: 4 kB / 0.77 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.2011, allocations: 42.5 kB / 0.77 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2011, allocations: 0 / 0.77 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004466/0.2015, allocations: 129.6 kB / 0.7701 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2016, allocations: 55.34 kB / 0.7702 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.2017, allocations: 144.5 kB / 0.7703 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.2017, allocations: 29.7 kB / 0.7704 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.2018, allocations: 104 kB / 0.7705 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.2018, allocations: 27.94 kB / 0.7705 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.2019, allocations: 25.7 kB / 0.7705 GB, free: 4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.202, allocations: 314.8 kB / 0.7708 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.2021, allocations: 31.97 kB / 0.7708 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.2022, allocations: 49.69 kB / 0.7709 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.2025, allocations: 77.62 kB / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2025, allocations: 0 / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002755/0.2027, allocations: 109.5 kB / 0.7711 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2028, allocations: 12.02 kB / 0.7711 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2028, allocations: 4 kB / 0.7711 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2028, allocations: 3.938 kB / 0.7711 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.2029, allocations: 15.98 kB / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.2029, allocations: 4 kB / 0.7711 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.42e-05/0.203, allocations: 7.953 kB / 0.7711 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.203, allocations: 0 / 0.7711 GB, free: 3.355 MB / 0.5606 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 9.636e-05/0.2031, allocations: 118.5 kB / 0.7712 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.2032, allocations: 11.89 kB / 0.7712 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.2032, allocations: 20.72 kB / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2032, allocations: 3.938 kB / 0.7713 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2032, allocations: 3.984 kB / 0.7713 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2033, allocations: 0 / 0.7713 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.2035, allocations: 205.5 kB / 0.7715 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2035, allocations: 0 / 0.7715 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.2036, allocations: 19.98 kB / 0.7715 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.2036, allocations: 0 / 0.7715 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2036, allocations: 0 / 0.7715 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.2036, allocations: 7.938 kB / 0.7715 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2036, allocations: 4.547 kB / 0.7715 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.2039, allocations: 199.5 kB / 0.7717 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.204, allocations: 88.98 kB / 0.7718 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.204, allocations: 8 kB / 0.7718 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.2042, allocations: 15.86 kB / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.2042, allocations: 12 kB / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2043, allocations: 3.984 kB / 0.7718 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.166e-05/0.2043, allocations: 107.2 kB / 0.7719 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2043, allocations: 0 / 0.7719 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002463/0.2046, allocations: 23.95 kB / 0.7719 GB, free: 2.426 MB / 0.5606 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.0005833/0.2052, allocations: 0.7359 MB / 0.7727 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.2055, allocations: 75.89 kB / 0.7727 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2055, allocations: 0 / 0.7727 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.2056, allocations: 35.97 kB / 0.7728 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.206, allocations: 27.98 kB / 0.7728 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3815/0.5875, allocations: 1.541 MB / 0.7743 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.5877, allocations: 0.6971 MB / 0.775 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000115/0.5878, allocations: 11.42 kB / 0.775 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.5879, allocations: 27.11 kB / 0.775 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.5879, allocations: 0 / 0.775 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.6098, allocations: 2.751 MB / 0.7777 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/8.076, allocations: 8.641 kB / 0.7777 GB, free: 13.09 MB / 0.5606 GB (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)