Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.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.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",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.0009279/0.0009279, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.000998/0.000998, allocations: 172.7 kB / 15.95 MB, free: 208 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.345/1.345, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1/1, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1683, allocations: 83.43 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001829/0.1702, allocations: 1.124 MB / 0.5986 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1713, allocations: 0.5621 MB / 0.5992 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.1713, allocations: 0 / 0.5992 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.1713, allocations: 0 / 0.5992 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.774e-05/0.1714, allocations: 0 / 0.5992 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.1718, allocations: 83.64 kB / 0.5993 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.1719, allocations: 23.92 kB / 0.5993 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.172, allocations: 11.94 kB / 0.5993 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.172, allocations: 11.92 kB / 0.5993 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.1721, allocations: 7.984 kB / 0.5993 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1721, allocations: 0 / 0.5993 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.1724, allocations: 139.7 kB / 0.5995 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.1724, allocations: 7.984 kB / 0.5995 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.1724, allocations: 29.7 kB / 0.5995 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1726, allocations: 76.06 kB / 0.5996 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1726, allocations: 4 kB / 0.5996 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1726, allocations: 0 / 0.5996 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1726, allocations: 0 / 0.5996 GB, free: 5.609 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004558/0.1731, allocations: 367.2 kB / 0.5999 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1731, allocations: 8.031 kB / 0.5999 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.1732, allocations: 34.55 kB / 0.6 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.1735, allocations: 31.92 kB / 0.6 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1737, allocations: 159.1 kB / 0.6001 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1737, allocations: 4 kB / 0.6001 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1737, allocations: 4 kB / 0.6001 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1739, allocations: 69.62 kB / 0.6002 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1739, allocations: 4 kB / 0.6002 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.174, allocations: 0 / 0.6002 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.174, allocations: 4 kB / 0.6002 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.1742, allocations: 59.94 kB / 0.6003 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.1747, allocations: 284.8 kB / 0.6005 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1749, allocations: 58.55 kB / 0.6006 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.1751, allocations: 36.89 kB / 0.6006 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1751, allocations: 0 / 0.6006 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1751, allocations: 30.56 kB / 0.6007 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 3.216e-06/0.1751, allocations: 4 kB / 0.6007 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004919/0.1756, allocations: 149.4 kB / 0.6008 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1757, allocations: 55.41 kB / 0.6009 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/0.1758, allocations: 97.84 kB / 0.601 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1758, allocations: 25.7 kB / 0.601 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.1758, allocations: 88.12 kB / 0.6011 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.1758, allocations: 3.906 kB / 0.6011 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.1759, allocations: 4 kB / 0.6011 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.176, allocations: 310.8 kB / 0.6014 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1761, allocations: 32 kB / 0.6014 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1762, allocations: 35.97 kB / 0.6014 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1764, allocations: 36.03 kB / 0.6015 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1764, allocations: 0 / 0.6015 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002663/0.1767, allocations: 97.58 kB / 0.6016 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1767, allocations: 11.94 kB / 0.6016 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1767, allocations: 0 / 0.6016 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1767, allocations: 3.953 kB / 0.6016 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1768, allocations: 19.97 kB / 0.6016 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1768, allocations: 0 / 0.6016 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.1769, allocations: 16.02 kB / 0.6016 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.177, allocations: 0 / 0.6016 GB, free: 3.281 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 (2): * Single equations (assignments): 2 * 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 7.36e-05/0.177, allocations: 109.8 kB / 0.6017 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1771, allocations: 4 kB / 0.6017 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.1771, allocations: 3.125 kB / 0.6017 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1771, allocations: 0 / 0.6017 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1771, allocations: 3.953 kB / 0.6017 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1771, allocations: 4 kB / 0.6017 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1773, allocations: 169.6 kB / 0.6019 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1773, allocations: 0 / 0.6019 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.963e-05/0.1774, allocations: 11.98 kB / 0.6019 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1774, allocations: 4 kB / 0.6019 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1774, allocations: 0 / 0.6019 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1774, allocations: 0 / 0.6019 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1774, allocations: 3.953 kB / 0.6019 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.1778, allocations: 199.3 kB / 0.6021 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.1778, allocations: 85.14 kB / 0.6022 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1778, allocations: 7.938 kB / 0.6022 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.178, allocations: 11.98 kB / 0.6022 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.178, allocations: 0 / 0.6022 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.178, allocations: 11.94 kB / 0.6022 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.1781, allocations: 75.28 kB / 0.6023 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1781, allocations: 0 / 0.6023 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002391/0.1783, allocations: 12 kB / 0.6023 GB, free: 2.488 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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.0006864/0.179, allocations: 0.7436 MB / 0.603 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.1793, allocations: 71.97 kB / 0.6031 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1793, allocations: 0 / 0.6031 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1795, allocations: 31.97 kB / 0.6031 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1797, allocations: 4 kB / 0.6031 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.1803, allocations: 182.2 kB / 0.6033 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1805, allocations: 0.6809 MB / 0.604 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.931e-05/0.1806, allocations: 8 kB / 0.604 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.1807, allocations: 11.42 kB / 0.604 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1807, allocations: 4 kB / 0.604 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3012/0.4819, allocations: 1.398 MB / 0.6054 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/0.4821, allocations: 213.6 kB / 0.6056 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.198, allocations: 0 / 0.6056 GB, free: 39.75 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: