Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.008543/0.008543, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001943/0.001943, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.068/1.068, allocations: 143 MB / 433.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.89 kB / 0.595 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.448, allocations: 82.03 MB / 0.6752 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003422/0.4514, allocations: 1.406 MB / 0.6765 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000655/0.4521, allocations: 204.6 kB / 0.6767 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.4522, allocations: 0 / 0.6767 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.4522, allocations: 1.25 kB / 0.6767 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.4523, allocations: 11.91 kB / 0.6767 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.4526, allocations: 16.92 kB / 0.6767 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.293e-05/0.4527, allocations: 22.8 kB / 0.6768 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4528, allocations: 15.52 kB / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.4529, allocations: 7.203 kB / 0.6768 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.453, allocations: 11.69 kB / 0.6768 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.453, allocations: 5.219 kB / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.4531, allocations: 28.09 kB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.4531, allocations: 5.219 kB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.4532, allocations: 6.562 kB / 0.6768 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.4534, allocations: 42.39 kB / 0.6769 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4534, allocations: 0 / 0.6769 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4534, allocations: 0 / 0.6769 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.4534, allocations: 4 kB / 0.6769 GB, free: 15.84 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.0005631/0.454, allocations: 346.5 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.454, allocations: 10.16 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.4541, allocations: 30.75 kB / 0.6773 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.4542, allocations: 3.844 kB / 0.6773 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.4544, allocations: 165.9 kB / 0.6774 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4544, allocations: 1.906 kB / 0.6774 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.4545, allocations: 384 / 0.6774 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.4547, allocations: 53.8 kB / 0.6775 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4547, allocations: 3.938 kB / 0.6775 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.4547, allocations: 5.062 kB / 0.6775 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4547, allocations: 0 / 0.6775 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.455, allocations: 35.42 kB / 0.6775 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.4554, allocations: 244.5 kB / 0.6778 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.4556, allocations: 43.72 kB / 0.6778 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.4557, allocations: 22.47 kB / 0.6778 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.4558, allocations: 1.375 kB / 0.6778 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.4558, allocations: 38.44 kB / 0.6779 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.4558, allocations: 3.938 kB / 0.6779 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004682/0.4563, allocations: 84.58 kB / 0.6779 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.4564, allocations: 52.59 kB / 0.678 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.4566, allocations: 106.3 kB / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.4566, allocations: 26.83 kB / 0.6781 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4567, allocations: 81.3 kB / 0.6782 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.4567, allocations: 9.047 kB / 0.6782 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.4568, allocations: 19.91 kB / 0.6782 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.457, allocations: 316 kB / 0.6785 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.4572, allocations: 16.17 kB / 0.6785 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.4573, allocations: 18.02 kB / 0.6786 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.4575, allocations: 43.41 kB / 0.6786 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4575, allocations: 8 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003083/0.4578, allocations: 65.19 kB / 0.6787 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4579, allocations: 5.312 kB / 0.6787 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4579, allocations: 0 / 0.6787 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4579, allocations: 0 / 0.6787 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.996e-05/0.458, allocations: 10.05 kB / 0.6787 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.458, allocations: 1.25 kB / 0.6787 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.4581, allocations: 15.48 kB / 0.6787 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.4581, allocations: 1.062 kB / 0.6787 GB, free: 13.96 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.61e-05/0.4582, allocations: 111.8 kB / 0.6788 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.4583, allocations: 5 kB / 0.6788 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.4586, allocations: 75.58 kB / 0.6789 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4586, allocations: 1.125 kB / 0.6789 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4586, allocations: 4 kB / 0.6789 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4586, allocations: 1.156 kB / 0.6789 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.4588, allocations: 158.1 kB / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4588, allocations: 5.297 kB / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.4589, allocations: 6.781 kB / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4589, allocations: 1.094 kB / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4589, allocations: 0 / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.459, allocations: 1.219 kB / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.459, allocations: 0 / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.4593, allocations: 176.9 kB / 0.6792 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.4593, allocations: 86.28 kB / 0.6793 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.4594, allocations: 5.219 kB / 0.6793 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.4595, allocations: 7.484 kB / 0.6793 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.4595, allocations: 1.219 kB / 0.6793 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.4596, allocations: 1.031 kB / 0.6793 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.4596, allocations: 78.75 kB / 0.6794 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4596, allocations: 7.938 kB / 0.6794 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003741/0.46, allocations: 8.406 kB / 0.6794 GB, free: 13.22 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 (3): * Single equations (assignments): 3 * 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.0008357/0.4608, allocations: 0.7006 MB / 0.6801 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.4612, allocations: 41.3 kB / 0.6801 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4612, allocations: 1.406 kB / 0.6801 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.4613, allocations: 20.27 kB / 0.6801 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.4618, allocations: 5.938 kB / 0.6802 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.4623, allocations: 157.1 kB / 0.6803 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.4627, allocations: 0.6825 MB / 0.681 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.4628, allocations: 1.188 kB / 0.681 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.4628, allocations: 8.844 kB / 0.681 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.4628, allocations: 0 / 0.681 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.4845, allocations: 1.38 MB / 0.6823 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/8.142, allocations: 12.47 kB / 0.6823 GB, free: 10.89 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_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_SaturationPressureLiquid.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)