Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_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.006505/0.006505, allocations: 97.41 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.001367/0.001367, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.541/1.541, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.093/1.093, allocations: 143.3 MB / 433.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 59.91 kB / 0.5953 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4653, allocations: 82.03 MB / 0.6754 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002021/0.4673, allocations: 1.286 MB / 0.6767 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.4684, allocations: 0.5718 MB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.707e-05/0.4684, allocations: 0 / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.4684, allocations: 0 / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.796e-05/0.4685, allocations: 12.78 kB / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.4689, allocations: 92.23 kB / 0.6773 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.227e-05/0.469, allocations: 25.23 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.469, allocations: 1.281 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.123e-05/0.4691, allocations: 7.531 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.4691, allocations: 11.52 kB / 0.6774 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.527e-06/0.4691, allocations: 1.094 kB / 0.6774 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.4694, allocations: 139.1 kB / 0.6775 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.4694, allocations: 0 / 0.6775 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.4695, allocations: 11.95 kB / 0.6775 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.4697, allocations: 93.64 kB / 0.6776 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4697, allocations: 1.25 kB / 0.6776 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4697, allocations: 4 kB / 0.6776 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.4697, allocations: 0 / 0.6776 GB, free: 15.3 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004409/0.4701, allocations: 354.3 kB / 0.6779 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4702, allocations: 9.969 kB / 0.678 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.4702, allocations: 30.75 kB / 0.678 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.4706, allocations: 29.61 kB / 0.678 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.4708, allocations: 169.5 kB / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4708, allocations: 4.375 kB / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.4708, allocations: 1.406 kB / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.471, allocations: 46.23 kB / 0.6782 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.471, allocations: 3.938 kB / 0.6782 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.471, allocations: 3.984 kB / 0.6782 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.4711, allocations: 0.8438 kB / 0.6782 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.4712, allocations: 23.92 kB / 0.6783 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.4714, allocations: 158.1 kB / 0.6784 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.4715, allocations: 44.02 kB / 0.6785 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/0.4716, allocations: 20.25 kB / 0.6785 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.4717, allocations: 0 / 0.6785 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.4717, allocations: 35.94 kB / 0.6785 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.4717, allocations: 0 / 0.6785 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003136/0.472, allocations: 73.16 kB / 0.6786 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.4721, allocations: 55.34 kB / 0.6786 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.4722, allocations: 97.8 kB / 0.6787 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.4722, allocations: 30.98 kB / 0.6787 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.4722, allocations: 84.12 kB / 0.6788 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.4722, allocations: 5.359 kB / 0.6788 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.4723, allocations: 16.41 kB / 0.6789 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4724, allocations: 316 kB / 0.6792 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.4725, allocations: 5.406 kB / 0.6792 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.4726, allocations: 19.33 kB / 0.6792 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.4727, allocations: 25.91 kB / 0.6792 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4727, allocations: 0 / 0.6792 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001876/0.4729, allocations: 63.47 kB / 0.6793 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4729, allocations: 9.281 kB / 0.6793 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.473, allocations: 12.03 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.473, allocations: 1.094 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.4731, allocations: 9.484 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.4731, allocations: 3.938 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.4732, allocations: 2.312 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.4732, allocations: 1.344 kB / 0.6793 GB, free: 13.52 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 8.012e-05/0.4733, allocations: 106.9 kB / 0.6794 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.4733, allocations: 5.125 kB / 0.6794 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.4733, allocations: 20.22 kB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4733, allocations: 0 / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4733, allocations: 1.156 kB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.4733, allocations: 3.938 kB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.4735, allocations: 162.1 kB / 0.6796 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4735, allocations: 0 / 0.6796 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.4736, allocations: 8.609 kB / 0.6796 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4736, allocations: 5.125 kB / 0.6796 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.4736, allocations: 4 kB / 0.6796 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4736, allocations: 1.125 kB / 0.6796 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4736, allocations: 0 / 0.6796 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.4738, allocations: 92.42 kB / 0.6797 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.4739, allocations: 78.23 kB / 0.6798 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.4739, allocations: 4.938 kB / 0.6798 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.474, allocations: 9.203 kB / 0.6798 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.474, allocations: 1.25 kB / 0.6798 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.474, allocations: 1.375 kB / 0.6798 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.4741, allocations: 77.66 kB / 0.6799 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4741, allocations: 0 / 0.6799 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002113/0.4743, allocations: 19.53 kB / 0.6799 GB, free: 12.89 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.0006081/0.4749, allocations: 0.6356 MB / 0.6805 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.4751, allocations: 31.84 kB / 0.6805 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4751, allocations: 4.094 kB / 0.6805 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.217e-05/0.4752, allocations: 16.95 kB / 0.6805 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.4755, allocations: 6.688 kB / 0.6806 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.4759, allocations: 145.9 kB / 0.6807 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4763, allocations: 0.6764 MB / 0.6814 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.037e-05/0.4763, allocations: 19.28 kB / 0.6814 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.4764, allocations: 9.594 kB / 0.6814 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.4764, allocations: 3.938 kB / 0.6814 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.4993, allocations: 1.587 MB / 0.6829 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.424, allocations: 11.83 kB / 0.6829 GB, free: 10.51 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.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_Functions_Examples_SaturationPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)