Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.0009322/0.0009321, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001187/0.001187, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.027/1.027, allocations: 143.4 MB / 434.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 12 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1747, allocations: 83.41 MB / 0.5976 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001279/0.176, allocations: 0.9745 MB / 0.5985 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004373/0.1764, allocations: 215.5 kB / 0.5987 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.115e-05/0.1765, allocations: 0 / 0.5987 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.1765, allocations: 0 / 0.5987 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.473e-05/0.1765, allocations: 3.938 kB / 0.5987 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.1768, allocations: 39.88 kB / 0.5988 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.405e-05/0.1768, allocations: 23.86 kB / 0.5988 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.1769, allocations: 0 / 0.5988 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.1769, allocations: 4 kB / 0.5988 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.177, allocations: 15.98 kB / 0.5988 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.177, allocations: 0 / 0.5988 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-05/0.1771, allocations: 47.89 kB / 0.5989 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.1771, allocations: 3.984 kB / 0.5989 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1771, allocations: 29.7 kB / 0.5989 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.186e-05/0.1772, allocations: 28.25 kB / 0.5989 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1772, allocations: 4 kB / 0.5989 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1772, allocations: 0 / 0.5989 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.1772, allocations: 0 / 0.5989 GB, free: 6.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003304/0.1776, allocations: 327.4 kB / 0.5992 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1776, allocations: 12.03 kB / 0.5992 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.1777, allocations: 34.56 kB / 0.5993 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.1778, allocations: 15.94 kB / 0.5993 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.503e-05/0.1779, allocations: 159.1 kB / 0.5994 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1779, allocations: 0 / 0.5994 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.1779, allocations: 4 kB / 0.5994 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.178, allocations: 49.62 kB / 0.5995 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1781, allocations: 0 / 0.5995 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1781, allocations: 4 kB / 0.5995 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1781, allocations: 3.938 kB / 0.5995 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.998e-05/0.1781, allocations: 15.98 kB / 0.5995 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1783, allocations: 161.5 kB / 0.5997 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.1784, allocations: 50.61 kB / 0.5997 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.1784, allocations: 20.98 kB / 0.5997 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.1785, allocations: 0 / 0.5997 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.1785, allocations: 42.5 kB / 0.5998 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.1785, allocations: 0 / 0.5998 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001802/0.1803, allocations: 0.4942 MB / 0.6003 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1803, allocations: 55.34 kB / 0.6003 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.881e-05/0.1804, allocations: 93.81 kB / 0.6004 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1804, allocations: 25.7 kB / 0.6004 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.1805, allocations: 80.14 kB / 0.6005 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.1805, allocations: 31.55 kB / 0.6005 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.1805, allocations: 4 kB / 0.6005 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1806, allocations: 314.8 kB / 0.6008 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.1807, allocations: 23.98 kB / 0.6009 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.1807, allocations: 20 kB / 0.6009 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.364e-05/0.1808, allocations: 27.94 kB / 0.6009 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1808, allocations: 0 / 0.6009 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001365/0.1809, allocations: 89.69 kB / 0.601 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1809, allocations: 7.984 kB / 0.601 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.181, allocations: 0 / 0.601 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.181, allocations: 7.938 kB / 0.601 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1811, allocations: 12.28 kB / 0.601 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1811, allocations: 0 / 0.601 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/0.1812, allocations: 4 kB / 0.601 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1812, allocations: 11.89 kB / 0.601 GB, free: 3.879 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/0.1813, allocations: 109.8 kB / 0.6011 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.1813, allocations: 3.984 kB / 0.6011 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.1813, allocations: 19.97 kB / 0.6012 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1813, allocations: 0 / 0.6012 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1814, allocations: 0 / 0.6012 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1814, allocations: 0 / 0.6012 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1815, allocations: 175.5 kB / 0.6013 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1815, allocations: 4 kB / 0.6013 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1816, allocations: 15.94 kB / 0.6013 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1816, allocations: 4 kB / 0.6013 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1817, allocations: 4 kB / 0.6014 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1817, allocations: 80 / 0.6014 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1817, allocations: 3.984 kB / 0.6014 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.1819, allocations: 149 kB / 0.6015 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.1819, allocations: 77.11 kB / 0.6016 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.182, allocations: 8.031 kB / 0.6016 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.1821, allocations: 8.438 kB / 0.6016 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.1821, allocations: 3.984 kB / 0.6016 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.1821, allocations: 8 kB / 0.6016 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.1821, allocations: 75.31 kB / 0.6017 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1821, allocations: 0 / 0.6017 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001835/0.1823, allocations: 8 kB / 0.6017 GB, free: 3.113 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004817/0.1828, allocations: 0.6916 MB / 0.6024 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.183, allocations: 59.91 kB / 0.6024 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.183, allocations: 0 / 0.6024 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.797e-05/0.183, allocations: 32 kB / 0.6024 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.1832, allocations: 7.984 kB / 0.6024 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/0.1841, allocations: 490.8 kB / 0.6029 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1843, allocations: 0.677 MB / 0.6036 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.625e-05/0.1844, allocations: 8.188 kB / 0.6036 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.1845, allocations: 19.44 kB / 0.6036 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1845, allocations: 0 / 0.6036 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2935/0.478, allocations: 1.39 MB / 0.605 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/0.4782, allocations: 256.5 kB / 0.6052 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.189, allocations: 3.344 kB / 0.6052 GB, free: 39.96 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: