Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",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.001124/0.001124, 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.001358/0.001358, allocations: 194.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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.395 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 0.9872/0.9872, allocations: 143.1 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 55.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1697, allocations: 82.04 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002898/0.1726, allocations: 1.406 MB / 0.5958 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1737, allocations: 0.5889 MB / 0.5963 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.1737, allocations: 0 / 0.5963 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.1738, allocations: 3.938 kB / 0.5963 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.944e-05/0.1738, allocations: 11.92 kB / 0.5964 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.1743, allocations: 95.56 kB / 0.5964 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.1743, allocations: 23.92 kB / 0.5965 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.1744, allocations: 8 kB / 0.5965 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.1745, allocations: 11.92 kB / 0.5965 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.221e-05/0.1745, allocations: 4 kB / 0.5965 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1745, allocations: 4 kB / 0.5965 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.1748, allocations: 147.8 kB / 0.5966 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.1749, allocations: 11.94 kB / 0.5966 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.1749, allocations: 11.92 kB / 0.5967 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1751, allocations: 104 kB / 0.5968 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1751, allocations: 0 / 0.5968 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1751, allocations: 0 / 0.5968 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.1751, allocations: 0 / 0.5968 GB, free: 7.043 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.0004549/0.1756, allocations: 361.2 kB / 0.5971 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1756, allocations: 8.031 kB / 0.5971 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.1757, allocations: 34.73 kB / 0.5971 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.1761, allocations: 28.91 kB / 0.5972 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1763, allocations: 168.3 kB / 0.5973 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1763, allocations: 8.375 kB / 0.5973 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1763, allocations: 384 / 0.5973 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.1765, allocations: 70.12 kB / 0.5974 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1766, allocations: 11.92 kB / 0.5974 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1766, allocations: 0 / 0.5974 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1766, allocations: 0 / 0.5974 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.1769, allocations: 51.94 kB / 0.5975 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.1773, allocations: 280.8 kB / 0.5977 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1775, allocations: 58.48 kB / 0.5978 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.1777, allocations: 28.89 kB / 0.5978 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.1777, allocations: 7.938 kB / 0.5978 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1777, allocations: 34.56 kB / 0.5979 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1778, allocations: 0 / 0.5979 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005262/0.1783, allocations: 113.6 kB / 0.598 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1783, allocations: 55.53 kB / 0.598 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.1784, allocations: 97.86 kB / 0.5981 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1784, allocations: 25.7 kB / 0.5981 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.1785, allocations: 88.12 kB / 0.5982 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1785, allocations: 3.906 kB / 0.5982 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.1786, allocations: 13.72 kB / 0.5982 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1787, allocations: 318.8 kB / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1788, allocations: 31.91 kB / 0.5986 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1789, allocations: 27.97 kB / 0.5986 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.1792, allocations: 56.88 kB / 0.5987 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1792, allocations: 3.938 kB / 0.5987 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000321/0.1796, allocations: 81.64 kB / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1796, allocations: 7.984 kB / 0.5987 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1796, allocations: 0 / 0.5987 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1796, allocations: 0 / 0.5987 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1798, allocations: 27.95 kB / 0.5988 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1798, allocations: 0 / 0.5988 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.101e-05/0.1799, allocations: 7.984 kB / 0.5988 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1799, allocations: 0 / 0.5988 GB, free: 4.738 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 7.626e-05/0.18, allocations: 117.7 kB / 0.5989 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.18, allocations: 0 / 0.5989 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.18, allocations: 11.11 kB / 0.5989 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1801, allocations: 0 / 0.5989 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1801, allocations: 0 / 0.5989 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1801, allocations: 7.938 kB / 0.5989 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.1803, allocations: 169.5 kB / 0.5991 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1803, allocations: 0 / 0.5991 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1804, allocations: 11.98 kB / 0.5991 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1804, allocations: 0 / 0.5991 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1804, allocations: 7.984 kB / 0.5991 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1804, allocations: 0 / 0.5991 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1804, allocations: 4 kB / 0.5991 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.1808, allocations: 179.4 kB / 0.5993 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.1808, allocations: 81.09 kB / 0.5993 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1809, allocations: 8 kB / 0.5993 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.181, allocations: 8.031 kB / 0.5994 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.181, allocations: 7.922 kB / 0.5994 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1811, allocations: 0 / 0.5994 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.1811, allocations: 83.28 kB / 0.5994 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1811, allocations: 0 / 0.5994 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002478/0.1814, allocations: 16 kB / 0.5995 GB, free: 3.949 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 (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 Backend phase and start with SimCode phase: time 0.0006573/0.182, allocations: 0.7244 MB / 0.6002 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.1824, allocations: 63.91 kB / 0.6002 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1824, allocations: 0 / 0.6002 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1825, allocations: 31.97 kB / 0.6003 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.1828, allocations: 7.984 kB / 0.6003 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.1834, allocations: 176.2 kB / 0.6004 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.1836, allocations: 0.6729 MB / 0.6011 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.397e-05/0.1837, allocations: 15.88 kB / 0.6011 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.1838, allocations: 15.42 kB / 0.6011 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.1838, allocations: 4 kB / 0.6011 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.2033, allocations: 1.656 MB / 0.6027 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.712, allocations: 12.94 kB / 0.6028 GB, free: 0.6055 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure_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_SaturationPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)