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-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.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.00529/0.00529, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.0013/0.0013, allocations: 195 kB / 16.68 MB, free: 5.973 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.13/1.13, allocations: 143.3 MB / 433.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.88 kB / 0.5953 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.459, allocations: 82.03 MB / 0.6754 GB, free: 1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002498/0.4616, allocations: 1.402 MB / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.4628, allocations: 0.602 MB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.4628, allocations: 0 / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.018e-05/0.4629, allocations: 3.938 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.463, allocations: 5.062 kB / 0.6774 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.4634, allocations: 100.5 kB / 0.6775 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.004e-05/0.4635, allocations: 26.17 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.4636, allocations: 3.969 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.4636, allocations: 15.2 kB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/0.4637, allocations: 11.36 kB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.4637, allocations: 2.312 kB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.464, allocations: 135.6 kB / 0.6776 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.4641, allocations: 11.88 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.4641, allocations: 14.97 kB / 0.6777 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.4643, allocations: 105.5 kB / 0.6778 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4643, allocations: 0 / 0.6778 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4643, allocations: 0 / 0.6778 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.4644, allocations: 1.312 kB / 0.6778 GB, free: 15.18 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.0005082/0.4649, allocations: 362.3 kB / 0.6781 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4649, allocations: 9.375 kB / 0.6781 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.465, allocations: 38.73 kB / 0.6782 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004114/0.4654, allocations: 28.81 kB / 0.6782 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.4655, allocations: 165.7 kB / 0.6783 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4655, allocations: 5.266 kB / 0.6783 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.4656, allocations: 1.406 kB / 0.6784 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.4658, allocations: 70.75 kB / 0.6784 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4658, allocations: 4.938 kB / 0.6784 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4658, allocations: 4 kB / 0.6784 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4659, allocations: 5.125 kB / 0.6784 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.4661, allocations: 50.84 kB / 0.6785 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.4667, allocations: 272.5 kB / 0.6787 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.467, allocations: 63.48 kB / 0.6788 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.4672, allocations: 35.08 kB / 0.6788 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.4673, allocations: 1.156 kB / 0.6788 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.4673, allocations: 39.59 kB / 0.6789 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.4673, allocations: 0 / 0.6789 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0005749/0.4679, allocations: 110.6 kB / 0.679 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.468, allocations: 56.38 kB / 0.679 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.4681, allocations: 103.3 kB / 0.6791 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4681, allocations: 25.7 kB / 0.6792 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.4681, allocations: 89.42 kB / 0.6792 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.4682, allocations: 5.312 kB / 0.6792 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.4682, allocations: 20.19 kB / 0.6793 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4684, allocations: 316.2 kB / 0.6796 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.4685, allocations: 25.19 kB / 0.6796 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.4686, allocations: 29.72 kB / 0.6796 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.4689, allocations: 56.94 kB / 0.6797 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4689, allocations: 3.938 kB / 0.6797 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003171/0.4692, allocations: 93.58 kB / 0.6798 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.4693, allocations: 5.875 kB / 0.6798 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4693, allocations: 0 / 0.6798 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4693, allocations: 4.844 kB / 0.6798 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.4694, allocations: 11.48 kB / 0.6798 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.4694, allocations: 5.188 kB / 0.6798 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.089e-05/0.4695, allocations: 12.61 kB / 0.6798 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.4696, allocations: 5.25 kB / 0.6798 GB, free: 13.15 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 9.482e-05/0.4697, allocations: 111.9 kB / 0.6799 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.4697, allocations: 1.062 kB / 0.6799 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.4697, allocations: 12.39 kB / 0.6799 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4698, allocations: 0 / 0.6799 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4698, allocations: 5.125 kB / 0.6799 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.4698, allocations: 0 / 0.6799 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.47, allocations: 163.2 kB / 0.6801 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.47, allocations: 1.188 kB / 0.6801 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4701, allocations: 15.7 kB / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4701, allocations: 0 / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4701, allocations: 5.016 kB / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4701, allocations: 1 kB / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4701, allocations: 0 / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.4705, allocations: 184.3 kB / 0.6803 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.4706, allocations: 85.98 kB / 0.6804 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.4706, allocations: 1.156 kB / 0.6804 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.4707, allocations: 12.84 kB / 0.6804 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.4708, allocations: 10.2 kB / 0.6804 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.4708, allocations: 4.984 kB / 0.6804 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.4708, allocations: 78.47 kB / 0.6805 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4708, allocations: 0 / 0.6805 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002622/0.4711, allocations: 14.53 kB / 0.6805 GB, free: 12.45 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.0007426/0.4718, allocations: 0.7298 MB / 0.6812 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.4722, allocations: 67.53 kB / 0.6813 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4722, allocations: 0 / 0.6813 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.4723, allocations: 28.03 kB / 0.6813 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.4726, allocations: 8.547 kB / 0.6813 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.4732, allocations: 165.6 kB / 0.6815 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.4735, allocations: 0.6761 MB / 0.6821 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.927e-05/0.4736, allocations: 7.312 kB / 0.6821 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.4737, allocations: 13.95 kB / 0.6821 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.4737, allocations: 0 / 0.6821 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.496, allocations: 1.692 MB / 0.6838 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.335, allocations: 10.03 kB / 0.6838 GB, free: 9.902 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)