Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.002032/0.002032, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002244/0.002244, allocations: 190.6 kB / 16.67 MB, free: 6.539 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.506/1.506, 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.082/1.082, allocations: 143.3 MB / 433.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.91 kB / 0.5953 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.4837, allocations: 82.02 MB / 0.6754 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00247/0.4863, allocations: 1.276 MB / 0.6767 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.4876, allocations: 0.6539 MB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.4877, allocations: 0 / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.4877, allocations: 0 / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.4878, allocations: 5.25 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.4884, allocations: 107.1 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.113e-05/0.4885, allocations: 36.95 kB / 0.6775 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.4886, allocations: 1.438 kB / 0.6775 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.934e-05/0.4886, allocations: 9.312 kB / 0.6775 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.4887, allocations: 12.17 kB / 0.6775 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.4887, allocations: 2.219 kB / 0.6775 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.489, allocations: 142.4 kB / 0.6776 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.4891, allocations: 1.094 kB / 0.6776 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.4891, allocations: 20.56 kB / 0.6776 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.4894, allocations: 99.11 kB / 0.6777 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4894, allocations: 4 kB / 0.6777 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4894, allocations: 0 / 0.6777 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.4895, allocations: 1.062 kB / 0.6777 GB, free: 15.22 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006866/0.4902, allocations: 358.1 kB / 0.6781 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4902, allocations: 9.875 kB / 0.6781 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.4903, allocations: 32.19 kB / 0.6781 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/0.4907, allocations: 29.03 kB / 0.6781 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.4909, allocations: 165.8 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.491, allocations: 1.438 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.491, allocations: 5.688 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.4912, allocations: 58.14 kB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4912, allocations: 3.938 kB / 0.6784 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.4913, allocations: 0 / 0.6784 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4913, allocations: 9.031 kB / 0.6784 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.4914, allocations: 27.34 kB / 0.6784 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.4917, allocations: 167 kB / 0.6786 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.4921, allocations: 68.31 kB / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.4922, allocations: 27.91 kB / 0.6786 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.4922, allocations: 1.188 kB / 0.6787 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.4923, allocations: 31.88 kB / 0.6787 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.4923, allocations: 7.875 kB / 0.6787 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.00368/0.496, allocations: 0.5701 MB / 0.6792 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.496, allocations: 52.53 kB / 0.6793 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.4961, allocations: 100.2 kB / 0.6794 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.4962, allocations: 27.05 kB / 0.6794 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.4962, allocations: 88.27 kB / 0.6795 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.4963, allocations: 22.7 kB / 0.6795 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.4964, allocations: 32.41 kB / 0.6796 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4965, allocations: 310.8 kB / 0.6798 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.4967, allocations: 34.81 kB / 0.6799 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.4968, allocations: 42.62 kB / 0.6799 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.4972, allocations: 78.84 kB / 0.68 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4972, allocations: 0 / 0.68 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003865/0.4976, allocations: 133.9 kB / 0.6801 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.4976, allocations: 5.688 kB / 0.6801 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4976, allocations: 64 / 0.6801 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.4976, allocations: 5.188 kB / 0.6801 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.4979, allocations: 22.22 kB / 0.6802 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4979, allocations: 0 / 0.6802 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.4981, allocations: 7.984 kB / 0.6802 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4981, allocations: 6.297 kB / 0.6802 GB, free: 12.91 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 (7): * Single equations (assignments): 7 * 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 0.000133/0.4982, allocations: 116.1 kB / 0.6803 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.4983, allocations: 10.17 kB / 0.6803 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.543e-05/0.4984, allocations: 9.281 kB / 0.6803 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4984, allocations: 5.094 kB / 0.6803 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4984, allocations: 4 kB / 0.6803 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.4984, allocations: 1.156 kB / 0.6803 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.4986, allocations: 186.3 kB / 0.6805 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4986, allocations: 0 / 0.6805 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.4989, allocations: 26.69 kB / 0.6805 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4989, allocations: 0 / 0.6805 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.4989, allocations: 5.359 kB / 0.6805 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4989, allocations: 0.875 kB / 0.6805 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.4989, allocations: 1.156 kB / 0.6805 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.4996, allocations: 190.2 kB / 0.6807 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.4997, allocations: 86.06 kB / 0.6808 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.4997, allocations: 1.094 kB / 0.6808 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.4999, allocations: 10.5 kB / 0.6808 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.5, allocations: 14.56 kB / 0.6808 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.5, allocations: 10.52 kB / 0.6808 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.5, allocations: 76.88 kB / 0.6809 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5, allocations: 0 / 0.6809 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000275/0.5003, allocations: 30.97 kB / 0.6809 GB, free: 12.18 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.001118/0.5014, allocations: 0.7654 MB / 0.6817 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.5018, allocations: 92.45 kB / 0.6818 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5019, allocations: 1.312 kB / 0.6818 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.502, allocations: 43.94 kB / 0.6818 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.5023, allocations: 20.7 kB / 0.6818 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.5048, allocations: 1.346 MB / 0.6831 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.5051, allocations: 0.6795 MB / 0.6838 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.5053, allocations: 27.94 kB / 0.6838 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.582e-05/0.5054, allocations: 19.95 kB / 0.6838 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.5054, allocations: 0 / 0.6838 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.5342, allocations: 2.509 MB / 0.6863 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.599, allocations: 11.62 kB / 0.6863 GB, free: 8.145 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)