Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_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.001076/0.001076, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001258/0.001258, allocations: 189.3 kB / 16.13 MB, free: 6.66 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.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001965/0.001965, allocations: 274.7 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.901/0.901, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 93.09 kB / 0.5946 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1983, allocations: 86.98 MB / 0.6795 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002584/0.2009, allocations: 1.467 MB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.2019, allocations: 0.6006 MB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.2019, allocations: 3.938 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.202, allocations: 0.6875 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.202, allocations: 0.625 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.2023, allocations: 85.08 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.2024, allocations: 31.86 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.2025, allocations: 15.97 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.171e-05/0.2025, allocations: 4 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.2026, allocations: 11.92 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2026, allocations: 4 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.2029, allocations: 147.7 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.2029, allocations: 3.984 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.2029, allocations: 15.92 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.2031, allocations: 95.77 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2031, allocations: 0 / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.2031, allocations: 0 / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2032, allocations: 4 kB / 0.682 GB, free: 14.63 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004454/0.2036, allocations: 363.5 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2037, allocations: 8.031 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.2037, allocations: 42.75 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004174/0.2041, allocations: 28.81 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2042, allocations: 168.3 kB / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2043, allocations: 4.375 kB / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.2043, allocations: 384 / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.2045, allocations: 70.2 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.2046, allocations: 7.875 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2046, allocations: 0 / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.2046, allocations: 0 / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.2048, allocations: 59.88 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.2053, allocations: 264.9 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.2055, allocations: 58.48 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.2056, allocations: 32.89 kB / 0.683 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.2057, allocations: 4 kB / 0.683 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.2057, allocations: 34.55 kB / 0.6831 GB, free: 13.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2057, allocations: 0 / 0.6831 GB, free: 13.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005033/0.2062, allocations: 117.5 kB / 0.6832 GB, free: 13.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.2063, allocations: 55.41 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.2063, allocations: 97.86 kB / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2064, allocations: 25.7 kB / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.2064, allocations: 88.25 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.2065, allocations: 7.844 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.2065, allocations: 17.72 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2066, allocations: 314.8 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.2068, allocations: 27.97 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2069, allocations: 27.97 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.2071, allocations: 52.81 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2071, allocations: 7.875 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002827/0.2074, allocations: 93.69 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2075, allocations: 8 kB / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2075, allocations: 0 / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2075, allocations: 0 / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2076, allocations: 11.98 kB / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2076, allocations: 0 / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.93e-05/0.2077, allocations: 7.984 kB / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2077, allocations: 4 kB / 0.684 GB, free: 12.32 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 7.753e-05/0.2078, allocations: 115.1 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.2079, allocations: 0 / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.2079, allocations: 15.11 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2079, allocations: 0 / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2079, allocations: 0 / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2079, allocations: 0 / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.2081, allocations: 169.6 kB / 0.6843 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2081, allocations: 4 kB / 0.6843 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.2082, allocations: 11.98 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2082, allocations: 8.062 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.2082, allocations: 7.984 kB / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2083, allocations: 4 kB / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2083, allocations: 0 / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.2086, allocations: 191.3 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.2087, allocations: 81.09 kB / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.2087, allocations: 0 / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.2088, allocations: 11.98 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.2089, allocations: 4 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.2089, allocations: 0 / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.375e-05/0.2089, allocations: 83.31 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2089, allocations: 3.938 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.2092, allocations: 11.98 kB / 0.6847 GB, free: 11.52 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.0006788/0.2099, allocations: 0.7396 MB / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.2102, allocations: 59.94 kB / 0.6854 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2102, allocations: 0 / 0.6854 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.2103, allocations: 32.06 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.2106, allocations: 4.734 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.2112, allocations: 166 kB / 0.6856 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.2115, allocations: 0.6771 MB / 0.6863 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.832e-05/0.2116, allocations: 11.94 kB / 0.6863 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.2117, allocations: 15.42 kB / 0.6863 GB, free: 9.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2117, allocations: 0 / 0.6863 GB, free: 9.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.2238, allocations: 1.474 MB / 0.6878 GB, free: 8.414 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/0.2242, allocations: 223.4 kB / 0.688 GB, free: 8.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.929, allocations: 0 / 0.688 GB, free: 8.16 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)