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-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.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.007447/0.007447, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.001337/0.001337, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.102/1.102, allocations: 143.3 MB / 433.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 64.09 kB / 0.5953 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4518, allocations: 82.02 MB / 0.6754 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002203/0.454, allocations: 1.412 MB / 0.6768 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004824/0.4545, allocations: 208.3 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.4546, allocations: 0 / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.4546, allocations: 3.938 kB / 0.677 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.4547, allocations: 1.094 kB / 0.677 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.4549, allocations: 25.62 kB / 0.677 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.978e-05/0.4549, allocations: 22.45 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.455, allocations: 14.7 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.4551, allocations: 7.719 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.845e-05/0.4551, allocations: 11.14 kB / 0.677 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.4551, allocations: 2.844 kB / 0.677 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.4552, allocations: 23.61 kB / 0.6771 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.4553, allocations: 4 kB / 0.6771 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.4553, allocations: 14.83 kB / 0.6771 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.4554, allocations: 42.02 kB / 0.6771 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4554, allocations: 1.156 kB / 0.6771 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4554, allocations: 0 / 0.6771 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.4554, allocations: 4 kB / 0.6771 GB, free: 15.55 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.0004648/0.4559, allocations: 342.5 kB / 0.6775 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.456, allocations: 10.06 kB / 0.6775 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.456, allocations: 31.94 kB / 0.6775 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.475e-05/0.4561, allocations: 3.5 kB / 0.6775 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.4562, allocations: 169.7 kB / 0.6777 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4563, allocations: 4.375 kB / 0.6777 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.4563, allocations: 1.844 kB / 0.6777 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.4565, allocations: 58.3 kB / 0.6777 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4565, allocations: 3.938 kB / 0.6777 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.4565, allocations: 0 / 0.6777 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4565, allocations: 5.188 kB / 0.6777 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.4567, allocations: 29.66 kB / 0.6778 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.457, allocations: 245.7 kB / 0.678 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.4572, allocations: 51.39 kB / 0.678 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.4573, allocations: 26.36 kB / 0.6781 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.4573, allocations: 0.9062 kB / 0.6781 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.4573, allocations: 31.97 kB / 0.6781 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4573, allocations: 0 / 0.6781 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003466/0.4577, allocations: 83.58 kB / 0.6782 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.4577, allocations: 52.53 kB / 0.6782 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.4578, allocations: 99.55 kB / 0.6783 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4578, allocations: 29.64 kB / 0.6784 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.4579, allocations: 81.33 kB / 0.6784 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.4579, allocations: 13.44 kB / 0.6784 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.458, allocations: 15.25 kB / 0.6785 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4581, allocations: 312.2 kB / 0.6788 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.4582, allocations: 17.27 kB / 0.6788 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.4583, allocations: 17.56 kB / 0.6788 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.4584, allocations: 35.27 kB / 0.6788 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4584, allocations: 8 kB / 0.6788 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/0.4586, allocations: 72.83 kB / 0.6789 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4587, allocations: 5.312 kB / 0.6789 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4587, allocations: 0 / 0.6789 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4587, allocations: 0 / 0.6789 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.4588, allocations: 14.23 kB / 0.6789 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4588, allocations: 1.156 kB / 0.6789 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.4589, allocations: 7.375 kB / 0.6789 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.4589, allocations: 5.219 kB / 0.6789 GB, free: 13.68 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.957e-05/0.459, allocations: 114.9 kB / 0.679 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.459, allocations: 1.062 kB / 0.679 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.4592, allocations: 72.44 kB / 0.6791 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4592, allocations: 1.219 kB / 0.6791 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.4592, allocations: 0 / 0.6791 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4593, allocations: 9.188 kB / 0.6791 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.4594, allocations: 166 kB / 0.6793 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4594, allocations: 1.094 kB / 0.6793 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-05/0.4595, allocations: 14.48 kB / 0.6793 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4595, allocations: 5 kB / 0.6793 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.4595, allocations: 0 / 0.6793 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.4595, allocations: 1.156 kB / 0.6793 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4596, allocations: 3.938 kB / 0.6793 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.4598, allocations: 169.4 kB / 0.6795 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.4599, allocations: 86.06 kB / 0.6796 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.4599, allocations: 1.188 kB / 0.6796 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.46, allocations: 8.453 kB / 0.6796 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.46, allocations: 1.031 kB / 0.6796 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.46, allocations: 1.281 kB / 0.6796 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.4601, allocations: 85.98 kB / 0.6796 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4601, allocations: 4 kB / 0.6796 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002089/0.4603, allocations: 5.656 kB / 0.6797 GB, free: 12.93 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.0005484/0.4609, allocations: 0.7004 MB / 0.6803 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.4611, allocations: 42.45 kB / 0.6804 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4611, allocations: 0 / 0.6804 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.4612, allocations: 28.56 kB / 0.6804 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.4615, allocations: 5.469 kB / 0.6804 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.4619, allocations: 140.7 kB / 0.6805 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.4622, allocations: 0.6816 MB / 0.6812 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.562e-05/0.4622, allocations: 2.094 kB / 0.6812 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.4623, allocations: 8.562 kB / 0.6812 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.4623, allocations: 0 / 0.6812 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.4849, allocations: 1.38 MB / 0.6826 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.331, allocations: 5.531 kB / 0.6826 GB, free: 10.61 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)