Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_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.735/1.735, allocations: 288.2 MB / 303.2 MB, free: 8.105 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.001041/0.001041, allocations: 173.1 kB / 371.8 MB, free: 10.29 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.661/1.661, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0009745/0.0009743, allocations: 82.97 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.00042, allocations: 15.7 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2227, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001208/0.224, allocations: 0.9863 MB / 0.9804 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006609/0.2247, allocations: 0.521 MB / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.571e-05/0.2247, allocations: 0 / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.2247, allocations: 0 / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.2248, allocations: 7.969 kB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.225, allocations: 79.75 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.34e-05/0.2251, allocations: 23.89 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.2251, allocations: 0 / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.2252, allocations: 12 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.2252, allocations: 4 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.2253, allocations: 0 / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.2255, allocations: 155.7 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.2255, allocations: 3.984 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.2255, allocations: 33.7 kB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.2257, allocations: 60.14 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2257, allocations: 0 / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2257, allocations: 0 / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2257, allocations: 3.938 kB / 0.9813 GB, free: 25.72 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003028/0.226, allocations: 351.3 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.226, allocations: 8.031 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.2261, allocations: 30.56 kB / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003842/0.2265, allocations: 27.95 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.845e-05/0.2265, allocations: 163 kB / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.2266, allocations: 0 / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2266, allocations: 8 kB / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.2267, allocations: 53.66 kB / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.2267, allocations: 3.938 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.2268, allocations: 0 / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2268, allocations: 0 / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.2269, allocations: 23.92 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.227, allocations: 161.6 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2271, allocations: 42.58 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2272, allocations: 4.062 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.2272, allocations: 30.56 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2272, allocations: 0 / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002583/0.2275, allocations: 77.59 kB / 0.9823 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.2275, allocations: 51.41 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.594e-05/0.2275, allocations: 101.8 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.2276, allocations: 25.7 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.698e-05/0.2276, allocations: 84.14 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.2276, allocations: 7.844 kB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.2276, allocations: 4.125 kB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.2277, allocations: 318.7 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/0.2277, allocations: 15.98 kB / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.666e-05/0.2278, allocations: 11.98 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.501e-05/0.2278, allocations: 11.98 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2279, allocations: 0 / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001445/0.228, allocations: 61.73 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.228, allocations: 5.875 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.228, allocations: 0 / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2281, allocations: 3.938 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.907e-05/0.2281, allocations: 7.984 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2282, allocations: 4 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.2282, allocations: 4 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2282, allocations: 4.031 kB / 0.9829 GB, free: 23.82 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 5.42e-05/0.2283, allocations: 113.8 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.2283, allocations: 0 / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.2284, allocations: 7.109 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2284, allocations: 0 / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2284, allocations: 4 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2284, allocations: 0 / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.47e-05/0.2285, allocations: 169.5 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2285, allocations: 0 / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.871e-05/0.2285, allocations: 7.984 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2285, allocations: 0 / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.2286, allocations: 0 / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2286, allocations: 0 / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2286, allocations: 4 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.2287, allocations: 92.98 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.2288, allocations: 81.11 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.2288, allocations: 4 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.722e-05/0.2289, allocations: 3.984 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.2289, allocations: 4 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.2289, allocations: 0 / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.957e-05/0.2289, allocations: 75.28 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2289, allocations: 0 / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001895/0.2291, allocations: 24.02 kB / 0.9835 GB, free: 23.15 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.0004072/0.2295, allocations: 0.6241 MB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.2297, allocations: 39.94 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2297, allocations: 3.938 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.2298, allocations: 11.98 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.23, allocations: 8.75 kB / 0.9842 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.2304, allocations: 158.3 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.909e-05/0.2305, allocations: 0.6848 MB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.461e-05/0.2306, allocations: 4 kB / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.2306, allocations: 15.42 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2306, allocations: 0 / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.2427, allocations: 1.36 MB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.2429, allocations: 221.7 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/1.758, allocations: 0 / 0.9866 GB, free: 20.09 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)