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.001308/0.001308, allocations: 108 kB / 15.61 MB, free: 148 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.001271/0.001271, allocations: 195.8 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 279 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.082/1.082, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002616/0.002616, allocations: 100.9 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1594, allocations: 89.15 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002913/0.1623, allocations: 1.669 MB / 0.6952 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.163, allocations: 401.8 kB / 0.6956 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.1631, allocations: 0 / 0.6956 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.784e-05/0.1632, allocations: 11.86 kB / 0.6956 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.1633, allocations: 20.8 kB / 0.6956 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.1637, allocations: 116.8 kB / 0.6958 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1638, allocations: 111.6 kB / 0.6959 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.164, allocations: 46.48 kB / 0.6959 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.164, allocations: 39.91 kB / 0.6959 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.1641, allocations: 39.78 kB / 0.696 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1641, allocations: 8.656 kB / 0.696 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1643, allocations: 70.36 kB / 0.6961 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.1643, allocations: 27.91 kB / 0.6961 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.1644, allocations: 43.78 kB / 0.6961 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.1646, allocations: 123.6 kB / 0.6962 GB, free: 1.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1646, allocations: 4 kB / 0.6962 GB, free: 1.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1646, allocations: 0 / 0.6962 GB, free: 1.508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1646, allocations: 4 kB / 0.6962 GB, free: 1.504 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.0006153/0.1653, allocations: 412.9 kB / 0.6966 GB, free: 1.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1653, allocations: 12.03 kB / 0.6967 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.1654, allocations: 35.41 kB / 0.6967 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.1656, allocations: 32.81 kB / 0.6967 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1658, allocations: 200.2 kB / 0.6969 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.985e-05/0.1659, allocations: 30.27 kB / 0.6969 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1659, allocations: 8.375 kB / 0.6969 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.1662, allocations: 105.9 kB / 0.697 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1662, allocations: 0 / 0.697 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1662, allocations: 4 kB / 0.697 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.1662, allocations: 0 / 0.697 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.1665, allocations: 91.86 kB / 0.6971 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/0.1672, allocations: 384.5 kB / 0.6975 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.1678, allocations: 130.6 kB / 0.6976 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1679, allocations: 40.84 kB / 0.6977 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.1679, allocations: 0 / 0.6977 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.1679, allocations: 42.48 kB / 0.6977 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 3.076e-06/0.168, allocations: 0 / 0.6977 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004194/0.1684, allocations: 133.5 kB / 0.6978 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1684, allocations: 55.34 kB / 0.6979 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1686, allocations: 135.2 kB / 0.698 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1686, allocations: 29.7 kB / 0.698 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.1687, allocations: 100 kB / 0.6981 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1687, allocations: 31.8 kB / 0.6982 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.1687, allocations: 21.7 kB / 0.6982 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1689, allocations: 322.8 kB / 0.6985 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.169, allocations: 23.98 kB / 0.6985 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1691, allocations: 49.62 kB / 0.6986 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.1694, allocations: 77.67 kB / 0.6986 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1694, allocations: 0 / 0.6986 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002753/0.1696, allocations: 114 kB / 0.6988 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1697, allocations: 4 kB / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1697, allocations: 0 / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1697, allocations: 7.938 kB / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1698, allocations: 24.02 kB / 0.6988 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1698, allocations: 4.062 kB / 0.6988 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.1699, allocations: 15.92 kB / 0.6988 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-06/0.1699, allocations: 4 kB / 0.6988 GB, free: 14.63 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.979e-05/0.17, allocations: 113.8 kB / 0.6989 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.1701, allocations: 7.906 kB / 0.6989 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.1701, allocations: 12.72 kB / 0.6989 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1701, allocations: 11.88 kB / 0.6989 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1701, allocations: 4 kB / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1701, allocations: 0 / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1704, allocations: 205.5 kB / 0.6991 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1704, allocations: 0 / 0.6991 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1705, allocations: 19.97 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1705, allocations: 0 / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1705, allocations: 0 / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1705, allocations: 3.938 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1705, allocations: 0 / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1708, allocations: 203.4 kB / 0.6994 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.1709, allocations: 85.02 kB / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1709, allocations: 11.88 kB / 0.6995 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1711, allocations: 15.92 kB / 0.6995 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.1711, allocations: 3.938 kB / 0.6995 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1711, allocations: 7.984 kB / 0.6995 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.49e-05/0.1712, allocations: 109 kB / 0.6996 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1712, allocations: 0 / 0.6996 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002341/0.1715, allocations: 20 kB / 0.6996 GB, free: 13.72 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.0006289/0.1721, allocations: 0.7357 MB / 0.7003 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.1724, allocations: 75.89 kB / 0.7004 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1724, allocations: 4 kB / 0.7004 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.1725, allocations: 39.91 kB / 0.7004 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1729, allocations: 28.67 kB / 0.7005 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.1748, allocations: 1.536 MB / 0.702 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1751, allocations: 0.6961 MB / 0.7026 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.566e-05/0.1752, allocations: 20.59 kB / 0.7027 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.1753, allocations: 23.44 kB / 0.7027 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1753, allocations: 0 / 0.7027 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.1986, allocations: 2.722 MB / 0.7053 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.706, allocations: 4.062 kB / 0.7054 GB, free: 7.848 MB / 0.4981 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)