Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.817/1.817, allocations: 287.4 MB / 302.5 MB, free: 8.352 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.0009841/0.0009841, allocations: 177 kB / 371.1 MB, free: 10.85 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.769/1.769, allocations: 205.4 MB / 0.6298 GB, free: 10.46 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.0008946/0.0008946, allocations: 86.66 kB / 0.7431 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.000452, allocations: 13.94 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2905, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001405/0.292, allocations: 1.009 MB / 0.9797 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.2928, allocations: 0.5395 MB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.2928, allocations: 0 / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.2929, allocations: 0 / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.293, allocations: 7.922 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.2933, allocations: 79.7 kB / 0.9803 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.674e-05/0.2934, allocations: 19.86 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.515e-05/0.2934, allocations: 4 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.2935, allocations: 8 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.2935, allocations: 7.938 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2936, allocations: 0 / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.2938, allocations: 151.7 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.2938, allocations: 0 / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.2939, allocations: 29.7 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.294, allocations: 60.16 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.294, allocations: 4 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.986e-06/0.294, allocations: 0 / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.294, allocations: 0 / 0.9806 GB, free: 26.15 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.0004053/0.2944, allocations: 347.5 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.2945, allocations: 8.031 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.2945, allocations: 30.75 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.2949, allocations: 36.83 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.295, allocations: 160.4 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2951, allocations: 4.375 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.2951, allocations: 384 / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.2953, allocations: 54.16 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2953, allocations: 3.938 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2953, allocations: 0 / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2953, allocations: 0 / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.2955, allocations: 31.91 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.2957, allocations: 153.7 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.2958, allocations: 34.59 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.2959, allocations: 20.91 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.2959, allocations: 7.938 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.296, allocations: 34.56 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.296, allocations: 0 / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002943/0.2963, allocations: 69.59 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.2963, allocations: 55.53 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/0.2964, allocations: 105.8 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.2964, allocations: 29.7 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.2964, allocations: 80.14 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.2964, allocations: 7.844 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.2964, allocations: 0 / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.2965, allocations: 310.8 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.2966, allocations: 15.98 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.2966, allocations: 19.92 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.2967, allocations: 28.84 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2968, allocations: 0 / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001373/0.2969, allocations: 53.67 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2969, allocations: 12.03 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2969, allocations: 7.984 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.297, allocations: 0 / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.2971, allocations: 4 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2971, allocations: 3.984 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.936e-05/0.2971, allocations: 11.98 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.2972, allocations: 0 / 0.9823 GB, free: 24.21 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 7.414e-05/0.2972, allocations: 113.7 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.2973, allocations: 15.84 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.2973, allocations: 3.125 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2973, allocations: 0 / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2973, allocations: 0 / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2973, allocations: 3.984 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.191e-05/0.2974, allocations: 153.7 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2974, allocations: 0 / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.2975, allocations: 11.98 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2975, allocations: 11.94 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.2975, allocations: 0 / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2975, allocations: 0 / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2975, allocations: 3.938 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.2977, allocations: 81.11 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.2978, allocations: 81.09 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.2978, allocations: 11.97 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.2979, allocations: 4 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.2979, allocations: 7.922 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2979, allocations: 0 / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.611e-05/0.2979, allocations: 79.28 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2979, allocations: 0 / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001763/0.2981, allocations: 12 kB / 0.9828 GB, free: 23.54 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.0004691/0.2986, allocations: 0.628 MB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.2988, allocations: 31.97 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2988, allocations: 8.031 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.2989, allocations: 11.98 kB / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.2991, allocations: 13.88 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.2995, allocations: 158.1 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.2997, allocations: 0.681 MB / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.725e-05/0.2998, allocations: 7.938 kB / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.2999, allocations: 15.44 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2999, allocations: 0 / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.3145, allocations: 1.351 MB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.3148, allocations: 214.2 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.898, allocations: 1.969 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)