Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_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.000846/0.000846, allocations: 98.58 kB / 16.02 MB, free: 80 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.001059/0.001059, allocations: 182.3 kB / 16.92 MB, free: 6.773 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.482/1.482, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7768/0.7768, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005261/0.0005262, allocations: 8 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1755, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001675/0.1772, allocations: 1.13 MB / 0.5611 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009705/0.1782, allocations: 0.589 MB / 0.5617 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.1783, allocations: 0 / 0.5617 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.1783, allocations: 4 kB / 0.5617 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.828e-05/0.1784, allocations: 3.938 kB / 0.5617 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1787, allocations: 79.7 kB / 0.5618 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.1788, allocations: 27.86 kB / 0.5618 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.556e-05/0.1789, allocations: 15.92 kB / 0.5618 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.931e-05/0.1789, allocations: 7.938 kB / 0.5618 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.179, allocations: 11.98 kB / 0.5619 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.179, allocations: 4 kB / 0.5619 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.1793, allocations: 139.8 kB / 0.562 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.1793, allocations: 7.984 kB / 0.562 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.1794, allocations: 41.56 kB / 0.562 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1796, allocations: 96.05 kB / 0.5621 GB, free: 6.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1796, allocations: 0 / 0.5621 GB, free: 6.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1796, allocations: 0 / 0.5621 GB, free: 6.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1796, allocations: 0 / 0.5621 GB, free: 6.781 MB / 430.1 MB 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.000459/0.1801, allocations: 367.4 kB / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1801, allocations: 8.031 kB / 0.5625 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.1802, allocations: 34.75 kB / 0.5625 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004146/0.1806, allocations: 24.91 kB / 0.5625 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1807, allocations: 176.4 kB / 0.5627 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1807, allocations: 384 / 0.5627 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1808, allocations: 4.375 kB / 0.5627 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.181, allocations: 70.14 kB / 0.5628 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.181, allocations: 3.938 kB / 0.5628 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.181, allocations: 7.938 kB / 0.5628 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1811, allocations: 0 / 0.5628 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.1813, allocations: 63.94 kB / 0.5629 GB, free: 5.934 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.1818, allocations: 272.9 kB / 0.5631 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.182, allocations: 66.48 kB / 0.5632 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.1822, allocations: 40.83 kB / 0.5632 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1822, allocations: 4 kB / 0.5632 GB, free: 5.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1823, allocations: 34.55 kB / 0.5633 GB, free: 5.453 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1823, allocations: 0 / 0.5633 GB, free: 5.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005275/0.1828, allocations: 133.5 kB / 0.5634 GB, free: 5.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.1829, allocations: 51.41 kB / 0.5634 GB, free: 5.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.1829, allocations: 105.8 kB / 0.5635 GB, free: 5.141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.183, allocations: 29.83 kB / 0.5636 GB, free: 5.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.183, allocations: 84.14 kB / 0.5636 GB, free: 5.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.183, allocations: 3.906 kB / 0.5636 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.1831, allocations: 9.719 kB / 0.5637 GB, free: 5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1832, allocations: 314.8 kB / 0.564 GB, free: 4.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1833, allocations: 31.97 kB / 0.564 GB, free: 4.652 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1835, allocations: 35.97 kB / 0.564 GB, free: 4.617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.1837, allocations: 68.86 kB / 0.5641 GB, free: 4.547 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1838, allocations: 3.938 kB / 0.5641 GB, free: 4.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003209/0.1841, allocations: 97.64 kB / 0.5642 GB, free: 4.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1841, allocations: 9.969 kB / 0.5642 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1841, allocations: 0 / 0.5642 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1841, allocations: 0 / 0.5642 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.1843, allocations: 23.91 kB / 0.5642 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1843, allocations: 0 / 0.5642 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.674e-05/0.1844, allocations: 12.03 kB / 0.5642 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1844, allocations: 3.984 kB / 0.5642 GB, free: 4.395 MB / 430.1 MB 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 8.415e-05/0.1845, allocations: 113.8 kB / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.1845, allocations: 4 kB / 0.5643 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.1846, allocations: 3.125 kB / 0.5643 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1846, allocations: 0 / 0.5643 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1846, allocations: 0 / 0.5643 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1846, allocations: 7.938 kB / 0.5644 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.1848, allocations: 177.6 kB / 0.5645 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1848, allocations: 0 / 0.5645 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.1849, allocations: 15.98 kB / 0.5645 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1849, allocations: 0 / 0.5645 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1849, allocations: 0 / 0.5645 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.185, allocations: 0 / 0.5645 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.185, allocations: 0 / 0.5645 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.1853, allocations: 207.3 kB / 0.5647 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.1854, allocations: 77.11 kB / 0.5648 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1854, allocations: 8.031 kB / 0.5648 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1855, allocations: 12.17 kB / 0.5648 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.1856, allocations: 4 kB / 0.5648 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1856, allocations: 7.969 kB / 0.5648 GB, free: 3.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.297e-05/0.1857, allocations: 83.28 kB / 0.5649 GB, free: 3.598 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1857, allocations: 0 / 0.5649 GB, free: 3.598 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1859, allocations: 12 kB / 0.5649 GB, free: 3.586 MB / 430.1 MB 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 (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.000693/0.1866, allocations: 0.7398 MB / 0.5657 GB, free: 2.816 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.1869, allocations: 75.88 kB / 0.5657 GB, free: 2.742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.187, allocations: 0 / 0.5657 GB, free: 2.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1871, allocations: 31.97 kB / 0.5658 GB, free: 2.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1874, allocations: 9.547 kB / 0.5658 GB, free: 2.703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.188, allocations: 181.6 kB / 0.5659 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1883, allocations: 0.6809 MB / 0.5666 GB, free: 1.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.606e-05/0.1884, allocations: 15.89 kB / 0.5666 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.1884, allocations: 15.42 kB / 0.5666 GB, free: 1.75 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1885, allocations: 3.938 kB / 0.5666 GB, free: 1.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.2005, allocations: 1.384 MB / 0.568 GB, free: 0.5 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.2008, allocations: 203.1 kB / 0.5682 GB, free: 256 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/1.973, allocations: 0 / 0.5682 GB, free: 256 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)