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.005548/0.005548, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.00125/0.00125, allocations: 202.4 kB / 16.68 MB, free: 5.965 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.058/1.058, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 67.89 kB / 0.595 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4588, allocations: 82.02 MB / 0.6751 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002151/0.461, allocations: 1.407 MB / 0.6765 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.462, allocations: 0.6009 MB / 0.6771 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.4621, allocations: 1.062 kB / 0.6771 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.4621, allocations: 4 kB / 0.6771 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.036e-05/0.4622, allocations: 5.188 kB / 0.6771 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.4626, allocations: 95.72 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.16e-05/0.4626, allocations: 30.86 kB / 0.6772 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.4627, allocations: 6.391 kB / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.4628, allocations: 16.27 kB / 0.6773 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.4628, allocations: 3.469 kB / 0.6773 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.4628, allocations: 6.219 kB / 0.6773 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.4631, allocations: 139.6 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.4631, allocations: 15.91 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.4632, allocations: 7.5 kB / 0.6774 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.4634, allocations: 101.4 kB / 0.6775 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4634, allocations: 0 / 0.6775 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4634, allocations: 0 / 0.6775 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.4634, allocations: 0 / 0.6775 GB, free: 15.28 MB / 0.5137 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.00043/0.4639, allocations: 370.3 kB / 0.6779 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.4639, allocations: 13.53 kB / 0.6779 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.4639, allocations: 32.12 kB / 0.6779 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004069/0.4644, allocations: 27.94 kB / 0.6779 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.4645, allocations: 170.3 kB / 0.6781 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.4645, allocations: 1.438 kB / 0.6781 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.4645, allocations: 1.281 kB / 0.6781 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.4647, allocations: 66.67 kB / 0.6782 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4648, allocations: 3.938 kB / 0.6782 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.4648, allocations: 1 kB / 0.6782 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.4648, allocations: 0 / 0.6782 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.4651, allocations: 51.97 kB / 0.6782 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.4655, allocations: 283.6 kB / 0.6785 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.4657, allocations: 59.59 kB / 0.6786 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.4658, allocations: 35.8 kB / 0.6786 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.4659, allocations: 5.094 kB / 0.6786 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.4659, allocations: 34.56 kB / 0.6786 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4659, allocations: 1.375 kB / 0.6786 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0005008/0.4664, allocations: 114.1 kB / 0.6787 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.4664, allocations: 56.41 kB / 0.6788 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.916e-05/0.4665, allocations: 102.7 kB / 0.6789 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4665, allocations: 25.7 kB / 0.6789 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.4666, allocations: 85.12 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.4666, allocations: 5.219 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.4667, allocations: 20.73 kB / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.4668, allocations: 316 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.4669, allocations: 25.22 kB / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.467, allocations: 26.19 kB / 0.6794 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.4673, allocations: 56.06 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4673, allocations: 5.156 kB / 0.6794 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002966/0.4676, allocations: 97.3 kB / 0.6795 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4676, allocations: 5.219 kB / 0.6795 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.4676, allocations: 1.344 kB / 0.6795 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4676, allocations: 4.031 kB / 0.6795 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.4678, allocations: 15.73 kB / 0.6795 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4678, allocations: 1.125 kB / 0.6795 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.752e-05/0.4679, allocations: 8.172 kB / 0.6796 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4679, allocations: 1.156 kB / 0.6796 GB, free: 13.27 MB / 0.5137 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.303e-05/0.468, allocations: 116.1 kB / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.468, allocations: 1.406 kB / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.4681, allocations: 12.38 kB / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4681, allocations: 192 / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4681, allocations: 1.188 kB / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4681, allocations: 3.984 kB / 0.6797 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.4682, allocations: 167 kB / 0.6798 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4682, allocations: 5.031 kB / 0.6799 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.4684, allocations: 15.31 kB / 0.6799 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4684, allocations: 1.031 kB / 0.6799 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4684, allocations: 9 kB / 0.6799 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4684, allocations: 0 / 0.6799 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4684, allocations: 1.031 kB / 0.6799 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.4688, allocations: 188.5 kB / 0.6801 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.4688, allocations: 82.56 kB / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.4688, allocations: 0 / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.469, allocations: 13.08 kB / 0.6801 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.469, allocations: 5.031 kB / 0.6802 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.469, allocations: 1.094 kB / 0.6802 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.591e-05/0.4691, allocations: 82.73 kB / 0.6802 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4691, allocations: 0 / 0.6802 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002471/0.4693, allocations: 14.75 kB / 0.6802 GB, free: 12.55 MB / 0.5137 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.0006382/0.47, allocations: 0.7258 MB / 0.681 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.4703, allocations: 62.41 kB / 0.681 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4703, allocations: 1.156 kB / 0.681 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.4704, allocations: 31.61 kB / 0.681 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.4707, allocations: 4.312 kB / 0.681 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.4713, allocations: 169.2 kB / 0.6812 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.4715, allocations: 0.6732 MB / 0.6819 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.983e-05/0.4716, allocations: 14.45 kB / 0.6819 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.4716, allocations: 12.84 kB / 0.6819 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.4716, allocations: 1.344 kB / 0.6819 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.4885, allocations: 1.688 MB / 0.6835 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/8.034, allocations: 5 kB / 0.6835 GB, free: 10.02 MB / 0.5137 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)