Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_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.001015/0.001016, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001056/0.001056, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.274/1.274, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 282.6 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.933/0.933, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 105 kB / 0.5948 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.156, allocations: 86.97 MB / 0.6797 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002224/0.1582, allocations: 1.342 MB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008161/0.1591, allocations: 0.5653 MB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.497e-05/0.1591, allocations: 0 / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.1591, allocations: 0 / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.1592, allocations: 17.81 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.1595, allocations: 75.72 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.946e-05/0.1596, allocations: 27.8 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.1596, allocations: 0.7188 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.1596, allocations: 4 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.519e-05/0.1597, allocations: 4.875 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.1597, allocations: 0 / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.1599, allocations: 156.3 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.16, allocations: 3.938 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.16, allocations: 9.391 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1602, allocations: 99.98 kB / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1602, allocations: 0 / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1602, allocations: 0 / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1602, allocations: 0.6562 kB / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003397/0.1605, allocations: 343.5 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1606, allocations: 12.03 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.538e-05/0.1606, allocations: 30.75 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.161, allocations: 28.89 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1611, allocations: 164.3 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.1611, allocations: 384 / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1612, allocations: 4.375 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1613, allocations: 58.22 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1613, allocations: 3.938 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1613, allocations: 0 / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1614, allocations: 0 / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.1615, allocations: 23.92 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.1616, allocations: 157.7 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1618, allocations: 38.59 kB / 0.6828 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.784e-05/0.1619, allocations: 24.84 kB / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1619, allocations: 3.984 kB / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.1619, allocations: 34.56 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/0.1619, allocations: 4 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002941/0.1622, allocations: 77.47 kB / 0.6829 GB, free: 13.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1623, allocations: 55.41 kB / 0.683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.943e-05/0.1623, allocations: 97.84 kB / 0.6831 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1624, allocations: 29.7 kB / 0.6831 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.1624, allocations: 84.27 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.1624, allocations: 7.844 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.1625, allocations: 21.7 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.1626, allocations: 310.8 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.1626, allocations: 11.98 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.028e-05/0.1627, allocations: 8 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1628, allocations: 36.89 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1628, allocations: 4 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001595/0.163, allocations: 57.61 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.163, allocations: 7.938 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.163, allocations: 0 / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.163, allocations: 0 / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1631, allocations: 16.02 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1632, allocations: 0 / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.1632, allocations: 0 / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1632, allocations: 8 kB / 0.6837 GB, free: 12.67 MB / 494.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 6.104e-05/0.1633, allocations: 111.1 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.1633, allocations: 3.938 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.1634, allocations: 15.12 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1634, allocations: 0 / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1634, allocations: 0 / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1634, allocations: 0 / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.427e-05/0.1635, allocations: 157.6 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1635, allocations: 0 / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/0.1636, allocations: 7.984 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1636, allocations: 3.938 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1636, allocations: 4 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1636, allocations: 3.938 kB / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1636, allocations: 0 / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.1638, allocations: 89.09 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.1639, allocations: 81.09 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1639, allocations: 11.81 kB / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.164, allocations: 4 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.164, allocations: 4.031 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.164, allocations: 0 / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.164, allocations: 87.27 kB / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.164, allocations: 0 / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000203/0.1642, allocations: 12 kB / 0.6842 GB, free: 11.99 MB / 494.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.0004863/0.1647, allocations: 0.6358 MB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1649, allocations: 23.97 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1649, allocations: 4 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.083e-05/0.165, allocations: 16.08 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1652, allocations: 8.062 kB / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.1657, allocations: 152.2 kB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.1659, allocations: 0.6768 MB / 0.6857 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.464e-05/0.166, allocations: 12 kB / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.166, allocations: 11.42 kB / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.166, allocations: 0 / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.1772, allocations: 1.494 MB / 0.6872 GB, free: 9.059 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.1774, allocations: 239.2 kB / 0.6874 GB, free: 8.805 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/1.921, allocations: 0 / 0.6874 GB, free: 8.805 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)