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.001021/0.001021, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009512/0.009512, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001922, allocations: 267.1 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9323/0.9323, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004132, allocations: 15.73 kB / 0.5988 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 88.55 MB / 0.6852 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001245/0.1643, allocations: 1.008 MB / 0.6862 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.1652, allocations: 0.5682 MB / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.1652, allocations: 2.312 kB / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.1652, allocations: 0 / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.1653, allocations: 11.91 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.1657, allocations: 75.66 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.717e-05/0.1657, allocations: 26.67 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.1658, allocations: 0 / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.1658, allocations: 7.938 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.1658, allocations: 4 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1659, allocations: 4 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.1661, allocations: 151.7 kB / 0.687 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.1662, allocations: 0 / 0.687 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.1662, allocations: 39.09 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1664, allocations: 92.06 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1664, allocations: 0 / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1664, allocations: 0 / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1664, allocations: 2.219 kB / 0.6872 GB, free: 12.95 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.0003251/0.1667, allocations: 339.5 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1668, allocations: 12.03 kB / 0.6875 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.1668, allocations: 30.75 kB / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/0.1672, allocations: 30.11 kB / 0.6876 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.555e-05/0.1673, allocations: 171.9 kB / 0.6877 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1673, allocations: 384 / 0.6877 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1674, allocations: 384 / 0.6877 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1675, allocations: 50.22 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1675, allocations: 3.938 kB / 0.6878 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1675, allocations: 3.984 kB / 0.6878 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1676, allocations: 4 kB / 0.6878 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1677, allocations: 21.33 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.1678, allocations: 158.9 kB / 0.688 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.168, allocations: 43.11 kB / 0.688 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.785e-05/0.1681, allocations: 23.59 kB / 0.688 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.1681, allocations: 0 / 0.688 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.1681, allocations: 30.56 kB / 0.6881 GB, free: 11.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.1681, allocations: 0 / 0.6881 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002784/0.1684, allocations: 78.22 kB / 0.6881 GB, free: 11.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.1684, allocations: 51.41 kB / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.19e-05/0.1685, allocations: 105.8 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1685, allocations: 29.64 kB / 0.6883 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.1686, allocations: 80.14 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1686, allocations: 15.78 kB / 0.6884 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.1686, allocations: 9.719 kB / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1687, allocations: 319 kB / 0.6887 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.1688, allocations: 11.98 kB / 0.6887 GB, free: 11.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/0.1689, allocations: 12 kB / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.169, allocations: 28.84 kB / 0.6888 GB, free: 11.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.169, allocations: 4.062 kB / 0.6888 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001987/0.1692, allocations: 57.67 kB / 0.6888 GB, free: 11.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.1693, allocations: 9.812 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1693, allocations: 0 / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1693, allocations: 4 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1694, allocations: 11.92 kB / 0.6889 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1694, allocations: 3.984 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.1695, allocations: 8.016 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.1695, allocations: 4 kB / 0.6889 GB, free: 10.99 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 8.657e-05/0.1696, allocations: 107.2 kB / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.1696, allocations: 3.938 kB / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.1697, allocations: 11.12 kB / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1697, allocations: 0 / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1697, allocations: 0 / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1697, allocations: 0 / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.1699, allocations: 157.7 kB / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1699, allocations: 0 / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.17, allocations: 4 kB / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.17, allocations: 7.938 kB / 0.6891 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.17, allocations: 11.98 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.17, allocations: 0 / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.17, allocations: 0 / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1702, allocations: 92.97 kB / 0.6892 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.1703, allocations: 85.09 kB / 0.6893 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.1704, allocations: 3.938 kB / 0.6893 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.1704, allocations: 4 kB / 0.6893 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.1705, allocations: 3.938 kB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1705, allocations: 3.984 kB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.243e-05/0.1705, allocations: 79.28 kB / 0.6894 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1705, allocations: 4.031 kB / 0.6894 GB, free: 10.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000219/0.1708, allocations: 16 kB / 0.6894 GB, free: 10.31 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.0005761/0.1714, allocations: 0.6358 MB / 0.6901 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1715, allocations: 27.91 kB / 0.6901 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1715, allocations: 4 kB / 0.6901 GB, free: 9.613 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.325e-05/0.1716, allocations: 11.98 kB / 0.6901 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1719, allocations: 12.73 kB / 0.6901 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.1723, allocations: 158.4 kB / 0.6903 GB, free: 9.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.1726, allocations: 0.6731 MB / 0.6909 GB, free: 8.699 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.731e-05/0.1727, allocations: 12.31 kB / 0.6909 GB, free: 8.688 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.1728, allocations: 7.438 kB / 0.6909 GB, free: 8.68 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1728, allocations: 4 kB / 0.6909 GB, free: 8.676 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2459/0.4187, allocations: 1.376 MB / 0.6923 GB, free: 7.488 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.419, allocations: 241.5 kB / 0.6925 GB, free: 7.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/1.944, allocations: 0 / 0.6925 GB, free: 7.234 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)