Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007593/0.0007592, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007797/0.0007795, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000558/0.000558, allocations: 19.03 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3204, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001658/0.3221, allocations: 1.133 MB / 0.7885 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.3231, allocations: 0.564 MB / 0.7891 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.3231, allocations: 0 / 0.7891 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.3231, allocations: 0 / 0.7891 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.751e-05/0.3232, allocations: 7.938 kB / 0.7891 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.3235, allocations: 79.7 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.3236, allocations: 23.88 kB / 0.7892 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.272e-05/0.3237, allocations: 7.984 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.3238, allocations: 4 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.3238, allocations: 23.84 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.3238, allocations: 0 / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.3241, allocations: 151.7 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.3241, allocations: 0 / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.3242, allocations: 29.7 kB / 0.7894 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.3243, allocations: 72.12 kB / 0.7894 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3243, allocations: 0 / 0.7894 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3243, allocations: 0 / 0.7894 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3244, allocations: 0 / 0.7894 GB, free: 9.758 MB / 0.6075 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.0004565/0.3248, allocations: 355.2 kB / 0.7898 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3249, allocations: 16.03 kB / 0.7898 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.3249, allocations: 30.56 kB / 0.7898 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.3253, allocations: 31.94 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3255, allocations: 167 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3255, allocations: 4 kB / 0.79 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3255, allocations: 0 / 0.79 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.3257, allocations: 73.58 kB / 0.7901 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3258, allocations: 0 / 0.7901 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3258, allocations: 0 / 0.7901 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3258, allocations: 0 / 0.7901 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.326, allocations: 67.94 kB / 0.7901 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.3265, allocations: 280.8 kB / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3267, allocations: 70.41 kB / 0.7905 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.3269, allocations: 36.89 kB / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3269, allocations: 0 / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3269, allocations: 34.56 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.327, allocations: 0 / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004933/0.3275, allocations: 133.5 kB / 0.7907 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3275, allocations: 63.34 kB / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.3276, allocations: 101.8 kB / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3276, allocations: 25.7 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.3277, allocations: 80.14 kB / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.3277, allocations: 8.031 kB / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.3277, allocations: 0 / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3279, allocations: 322.8 kB / 0.7912 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.328, allocations: 27.97 kB / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.3281, allocations: 35.97 kB / 0.7913 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.3282, allocations: 27.98 kB / 0.7913 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3282, allocations: 0 / 0.7913 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002632/0.3285, allocations: 97.69 kB / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3285, allocations: 8 kB / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3285, allocations: 0 / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3286, allocations: 0 / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3287, allocations: 16.02 kB / 0.7915 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3287, allocations: 11.89 kB / 0.7915 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.3288, allocations: 7.984 kB / 0.7915 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3288, allocations: 11.92 kB / 0.7915 GB, free: 7.43 MB / 0.6075 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 8.34e-05/0.3289, allocations: 110.5 kB / 0.7916 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.329, allocations: 0 / 0.7916 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.329, allocations: 11.12 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.329, allocations: 0 / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.329, allocations: 0 / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.329, allocations: 3.953 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3292, allocations: 165.7 kB / 0.7918 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3292, allocations: 0 / 0.7918 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3293, allocations: 15.97 kB / 0.7918 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3293, allocations: 0 / 0.7918 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3294, allocations: 11.94 kB / 0.7918 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3294, allocations: 0 / 0.7918 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3294, allocations: 4 kB / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3297, allocations: 203.5 kB / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.3298, allocations: 81.09 kB / 0.7921 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3298, allocations: 0 / 0.7921 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3299, allocations: 15.92 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.3299, allocations: 0 / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.33, allocations: 4 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.33, allocations: 83.3 kB / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.33, allocations: 0 / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002419/0.3303, allocations: 20 kB / 0.7922 GB, free: 6.621 MB / 0.6075 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.0006579/0.3309, allocations: 0.7358 MB / 0.7929 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.3312, allocations: 75.89 kB / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3312, allocations: 0 / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3314, allocations: 31.97 kB / 0.793 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.3316, allocations: 8.125 kB / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.3322, allocations: 177.3 kB / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.3325, allocations: 0.677 MB / 0.7938 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.534e-05/0.3326, allocations: 19.84 kB / 0.7939 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.3326, allocations: 7.438 kB / 0.7939 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.3326, allocations: 0 / 0.7939 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.345, allocations: 1.392 MB / 0.7952 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.3453, allocations: 205.9 kB / 0.7954 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.116, allocations: 0 / 0.7954 GB, free: 3.316 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: