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.674/1.674, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001065/0.001065, allocations: 176.5 kB / 372 MB, free: 10.28 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.668/1.668, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008704/0.0008704, allocations: 105.1 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006059/0.000606, allocations: 15.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2846, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001684/0.2863, allocations: 1.117 MB / 0.9807 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.2873, allocations: 0.5676 MB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.2873, allocations: 0 / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.2874, allocations: 4 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.2875, allocations: 7.922 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.2879, allocations: 75.7 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.181e-05/0.288, allocations: 23.88 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2881, allocations: 4 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.2882, allocations: 7.984 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.2883, allocations: 19.91 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.2883, allocations: 4 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.2887, allocations: 139.8 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.2887, allocations: 3.938 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.2887, allocations: 29.7 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.289, allocations: 72.12 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.289, allocations: 4 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.146e-06/0.289, allocations: 0 / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.289, allocations: 0 / 0.9817 GB, free: 25.48 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.0004923/0.2895, allocations: 355.2 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.2896, allocations: 19.95 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.2896, allocations: 34.56 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/0.2901, allocations: 27.95 kB / 0.9821 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2902, allocations: 167 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2902, allocations: 0 / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.2903, allocations: 8 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.2905, allocations: 69.64 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2906, allocations: 7.938 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.2906, allocations: 4 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.2906, allocations: 0 / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.2909, allocations: 67.94 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.2913, allocations: 272.8 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.2916, allocations: 66.53 kB / 0.9827 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2917, allocations: 40.89 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.2918, allocations: 3.984 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.2918, allocations: 38.5 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.2918, allocations: 0 / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005162/0.2923, allocations: 129.5 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.2924, allocations: 55.36 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.2924, allocations: 105.8 kB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2925, allocations: 25.83 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.2925, allocations: 84.14 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.2925, allocations: 3.906 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.2925, allocations: 0 / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.2926, allocations: 318.8 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2927, allocations: 27.97 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.2929, allocations: 39.91 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.293, allocations: 31.97 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.293, allocations: 0 / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003046/0.2933, allocations: 97.69 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2934, allocations: 4 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2934, allocations: 4 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2934, allocations: 4.031 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.2936, allocations: 11.98 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2936, allocations: 7.891 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.56e-05/0.2937, allocations: 11.98 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.2937, allocations: 4 kB / 0.9837 GB, free: 23.14 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 6.221e-05/0.2938, allocations: 109.8 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.2938, allocations: 4 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.2938, allocations: 11.11 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2938, allocations: 0 / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2939, allocations: 0 / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2939, allocations: 7.891 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.294, allocations: 165.6 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.294, allocations: 4 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.2941, allocations: 15.98 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.2941, allocations: 0 / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2941, allocations: 7.984 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2942, allocations: 0 / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2942, allocations: 0 / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.2945, allocations: 195.4 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.2945, allocations: 85.09 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.2945, allocations: 0 / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2947, allocations: 11.98 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.2947, allocations: 4.031 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.2947, allocations: 0 / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.559e-05/0.2948, allocations: 83.28 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2948, allocations: 0 / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002238/0.295, allocations: 19.98 kB / 0.9844 GB, free: 22.34 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.0005572/0.2956, allocations: 0.7396 MB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.2959, allocations: 67.97 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2959, allocations: 0 / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.296, allocations: 39.97 kB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.2963, allocations: 9.016 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.2968, allocations: 178.2 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.297, allocations: 0.6771 MB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.435e-05/0.2971, allocations: 15.83 kB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.2972, allocations: 15.44 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.2972, allocations: 0 / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.3109, allocations: 1.417 MB / 0.9875 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.3112, allocations: 212.9 kB / 0.9877 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.943, allocations: 4 kB / 0.9877 GB, free: 19.02 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)