Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 288.4 MB / 303.6 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.001051, allocations: 184.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 0.631 GB, free: 9.805 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008302/0.0008304, allocations: 90.36 kB / 0.7444 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004354, allocations: 12.03 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2089, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001326/0.2102, allocations: 1.125 MB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007076/0.211, allocations: 0.5714 MB / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.211, allocations: 0 / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.211, allocations: 4 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.685e-05/0.2111, allocations: 3.938 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.2114, allocations: 79.7 kB / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.543e-05/0.2115, allocations: 23.91 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.2115, allocations: 12 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.775e-05/0.2116, allocations: 7.938 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.2116, allocations: 3.984 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.2117, allocations: 4 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.2119, allocations: 147.7 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.2119, allocations: 4 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.2119, allocations: 37.62 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.2121, allocations: 72.14 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2121, allocations: 0 / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2121, allocations: 0 / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2121, allocations: 4 kB / 0.9822 GB, free: 25.12 MB / 0.6198 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.0003731/0.2125, allocations: 355.4 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2125, allocations: 12.03 kB / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.2126, allocations: 30.75 kB / 0.9826 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/0.2129, allocations: 36.84 kB / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.813e-05/0.213, allocations: 164.4 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.213, allocations: 4.375 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.2131, allocations: 4.312 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.2133, allocations: 66.2 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2133, allocations: 3.938 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2133, allocations: 0 / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2133, allocations: 4 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.2136, allocations: 63.94 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.214, allocations: 280.8 kB / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.2142, allocations: 62.42 kB / 0.9833 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.2143, allocations: 40.89 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2143, allocations: 0 / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.2144, allocations: 38.55 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.2144, allocations: 0 / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004661/0.2148, allocations: 125.6 kB / 0.9835 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.2149, allocations: 59.53 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.188e-05/0.2149, allocations: 105.7 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.2149, allocations: 25.7 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.215, allocations: 84.12 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.215, allocations: 3.906 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.215, allocations: 0 / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.215, allocations: 318.8 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.2152, allocations: 31.97 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.2153, allocations: 31.97 kB / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.2155, allocations: 68.86 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2155, allocations: 3.938 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000265/0.2158, allocations: 97.64 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2158, allocations: 4 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2158, allocations: 0 / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.2158, allocations: 3.938 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.216, allocations: 15.98 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.216, allocations: 8.016 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.2161, allocations: 8 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.2161, allocations: 11.92 kB / 0.9843 GB, free: 22.77 MB / 0.6198 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 4.667e-05/0.2161, allocations: 117.8 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.2162, allocations: 0 / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.2162, allocations: 7.125 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.2162, allocations: 4.188 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2162, allocations: 0 / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2162, allocations: 3.984 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.2164, allocations: 169.5 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2164, allocations: 0 / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.2165, allocations: 19.97 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2165, allocations: 0 / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2165, allocations: 0 / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2165, allocations: 8 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2165, allocations: 4 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.2168, allocations: 199.4 kB / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.2168, allocations: 81.11 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.2168, allocations: 0 / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.217, allocations: 11.98 kB / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.217, allocations: 0 / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.217, allocations: 3.984 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.911e-05/0.217, allocations: 83.28 kB / 0.985 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.217, allocations: 4.031 kB / 0.985 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002097/0.2173, allocations: 19.94 kB / 0.985 GB, free: 21.95 MB / 0.6198 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.0004638/0.2177, allocations: 0.7397 MB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.218, allocations: 75.89 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.218, allocations: 0 / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.2182, allocations: 31.97 kB / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.2184, allocations: 11.36 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.2189, allocations: 178.1 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.718e-05/0.219, allocations: 0.6809 MB / 0.9867 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.355e-05/0.2191, allocations: 8 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.2192, allocations: 15.44 kB / 0.9867 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2192, allocations: 0 / 0.9867 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/0.331, allocations: 1.398 MB / 0.9881 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/0.3312, allocations: 210.9 kB / 0.9883 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.976, allocations: 0 / 0.9883 GB, free: 18.66 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)