Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.556/1.556, allocations: 287.4 MB / 302.6 MB, free: 8.238 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.001011/0.001011, allocations: 184.5 kB / 371.1 MB, free: 10.82 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.839/1.839, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009506/0.0009507, allocations: 102.9 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004317, allocations: 9.906 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2782, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002274/0.2806, allocations: 1.129 MB / 0.9798 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2819, allocations: 0.5628 MB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.2819, allocations: 0 / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.282, allocations: 7.938 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.099e-05/0.2821, allocations: 0 / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.2826, allocations: 87.62 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.136e-05/0.2827, allocations: 23.92 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.2828, allocations: 4 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.2829, allocations: 15.92 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.283, allocations: 0 / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.283, allocations: 4 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.2833, allocations: 147.7 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.2834, allocations: 7.984 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.2834, allocations: 33.7 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.2836, allocations: 64.14 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.2836, allocations: 0 / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.258e-06/0.2836, allocations: 4 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.2837, allocations: 0 / 0.9808 GB, free: 25.99 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.0006835/0.2844, allocations: 359.4 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.378e-05/0.2844, allocations: 8.031 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.845e-05/0.2845, allocations: 42.69 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/0.285, allocations: 24.91 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.2852, allocations: 172.3 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2852, allocations: 384 / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.2852, allocations: 384 / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.2856, allocations: 78.2 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2856, allocations: 3.938 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2856, allocations: 0 / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.2856, allocations: 0 / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.2859, allocations: 63.94 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.2864, allocations: 280.7 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.2867, allocations: 66.48 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.2868, allocations: 40.89 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.2868, allocations: 3.938 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2869, allocations: 38.55 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.2869, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005205/0.2874, allocations: 129.6 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.2875, allocations: 51.41 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.2875, allocations: 97.86 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.2876, allocations: 29.7 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.2877, allocations: 84.12 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.2877, allocations: 7.906 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.2877, allocations: 4.031 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.2878, allocations: 310.8 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.2879, allocations: 31.97 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.288, allocations: 35.97 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.2883, allocations: 64.8 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2883, allocations: 8 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002712/0.2886, allocations: 101.6 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2886, allocations: 4 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2886, allocations: 4.031 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2886, allocations: 0 / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.2888, allocations: 15.98 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2888, allocations: 3.984 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.474e-05/0.2889, allocations: 12 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.2889, allocations: 3.984 kB / 0.9828 GB, free: 23.62 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.456e-05/0.289, allocations: 121.7 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.289, allocations: 4 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.2891, allocations: 7.125 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2891, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2891, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2891, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2892, allocations: 169.5 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2892, allocations: 0 / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.2893, allocations: 23.97 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2894, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2894, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.2894, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2894, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.2897, allocations: 204.2 kB / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.2898, allocations: 77.3 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2898, allocations: 0 / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2899, allocations: 19.95 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.29, allocations: 7.984 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.29, allocations: 7.984 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.594e-05/0.29, allocations: 79.28 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.29, allocations: 0 / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002229/0.2902, allocations: 12 kB / 0.9835 GB, free: 22.81 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.0006557/0.2909, allocations: 0.7435 MB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.2912, allocations: 71.95 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2913, allocations: 0 / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.2914, allocations: 40.03 kB / 0.9844 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.2917, allocations: 5.891 kB / 0.9844 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.2923, allocations: 186 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.2925, allocations: 0.681 MB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.85e-05/0.2926, allocations: 8 kB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.2926, allocations: 7.438 kB / 0.9852 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2926, allocations: 0 / 0.9852 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01323/0.3059, allocations: 1.379 MB / 0.9866 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.3061, allocations: 204.8 kB / 0.9868 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.888, allocations: 0 / 0.9868 GB, free: 19.52 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)