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/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.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.001074/0.001074, allocations: 108 kB / 15.6 MB, free: 132 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.001195/0.001195, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.042/1.042, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.89 kB / 0.5143 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1633, allocations: 82.04 MB / 0.5944 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003013/0.1664, allocations: 1.278 MB / 0.5957 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1675, allocations: 0.6473 MB / 0.5963 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.1675, allocations: 0 / 0.5963 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.1676, allocations: 7.875 kB / 0.5963 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.444e-05/0.1676, allocations: 7.984 kB / 0.5963 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.1681, allocations: 103.5 kB / 0.5964 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.586e-05/0.1682, allocations: 27.91 kB / 0.5964 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.1682, allocations: 4 kB / 0.5964 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.369e-05/0.1683, allocations: 11.94 kB / 0.5964 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.1683, allocations: 7.984 kB / 0.5965 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1683, allocations: 0 / 0.5965 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.1686, allocations: 151.7 kB / 0.5966 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.1686, allocations: 4 kB / 0.5966 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.1687, allocations: 11.92 kB / 0.5966 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1689, allocations: 100 kB / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1689, allocations: 0 / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1689, allocations: 0 / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.1689, allocations: 4 kB / 0.5967 GB, free: 7.074 MB / 0.4981 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.0005491/0.1695, allocations: 351.5 kB / 0.597 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1696, allocations: 8.031 kB / 0.5971 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.1696, allocations: 38.75 kB / 0.5971 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004735/0.1701, allocations: 28.81 kB / 0.5971 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1703, allocations: 172.3 kB / 0.5973 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1703, allocations: 384 / 0.5973 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.1703, allocations: 4.375 kB / 0.5973 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.1706, allocations: 54.22 kB / 0.5973 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1706, allocations: 3.938 kB / 0.5973 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.1706, allocations: 4 kB / 0.5973 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1706, allocations: 4 kB / 0.5973 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1708, allocations: 31.97 kB / 0.5974 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.1711, allocations: 153.7 kB / 0.5975 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.1714, allocations: 74.5 kB / 0.5976 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/0.1715, allocations: 32.92 kB / 0.5976 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1716, allocations: 0 / 0.5976 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1716, allocations: 34.56 kB / 0.5977 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1716, allocations: 3.938 kB / 0.5977 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003484/0.1751, allocations: 0.5759 MB / 0.5982 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.1752, allocations: 55.41 kB / 0.5983 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.1753, allocations: 93.84 kB / 0.5984 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1753, allocations: 29.64 kB / 0.5984 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.1753, allocations: 88.14 kB / 0.5985 GB, free: 5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.1754, allocations: 11.72 kB / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.1755, allocations: 29.81 kB / 0.5985 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1756, allocations: 318.8 kB / 0.5988 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1758, allocations: 39.91 kB / 0.5989 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.1759, allocations: 31.97 kB / 0.5989 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.1762, allocations: 84.81 kB / 0.599 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1762, allocations: 0 / 0.599 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003698/0.1766, allocations: 121.6 kB / 0.5991 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.1766, allocations: 6.656 kB / 0.5991 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1766, allocations: 4 kB / 0.5991 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1767, allocations: 0 / 0.5991 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.1769, allocations: 27.91 kB / 0.5991 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1769, allocations: 0 / 0.5991 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1771, allocations: 11.98 kB / 0.5991 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1771, allocations: 4 kB / 0.5991 GB, free: 4.301 MB / 0.4981 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.0001161/0.1772, allocations: 109.8 kB / 0.5992 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.1773, allocations: 11.84 kB / 0.5993 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.584e-05/0.1774, allocations: 11.97 kB / 0.5993 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1774, allocations: 0 / 0.5993 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1774, allocations: 4 kB / 0.5993 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1774, allocations: 0 / 0.5993 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.1776, allocations: 183.7 kB / 0.5995 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1776, allocations: 8 kB / 0.5995 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.1778, allocations: 23.91 kB / 0.5995 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1779, allocations: 0 / 0.5995 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.1779, allocations: 7.984 kB / 0.5995 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1779, allocations: 0 / 0.5995 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.1779, allocations: 0 / 0.5995 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.1785, allocations: 197 kB / 0.5997 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.1785, allocations: 84.95 kB / 0.5998 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.1786, allocations: 12.02 kB / 0.5998 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.1788, allocations: 8 kB / 0.5998 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.1788, allocations: 8.047 kB / 0.5998 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1788, allocations: 4 kB / 0.5998 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.1788, allocations: 79.27 kB / 0.5999 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1788, allocations: 0 / 0.5999 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002719/0.1791, allocations: 39.88 kB / 0.5999 GB, free: 3.422 MB / 0.4981 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.0008927/0.18, allocations: 0.753 MB / 0.6006 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.1804, allocations: 87.98 kB / 0.6007 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1804, allocations: 0 / 0.6007 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1805, allocations: 47.91 kB / 0.6008 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.1808, allocations: 7.984 kB / 0.6008 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.1828, allocations: 1.349 MB / 0.6021 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.1831, allocations: 0.6807 MB / 0.6028 GB, free: 372 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002251/0.1833, allocations: 32.3 kB / 0.6028 GB, free: 340 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.1834, allocations: 23.41 kB / 0.6028 GB, free: 316 kB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1834, allocations: 0 / 0.6028 GB, free: 316 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2922/0.4756, allocations: 2.463 MB / 0.6052 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.595, allocations: 14.66 kB / 0.6052 GB, free: 43.65 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)