Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_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.001458/0.001458, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001562/0.001562, allocations: 201.5 kB / 16.14 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.1 MB / 222 MB, free: 4.77 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.719/1.719, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001667/0.001667, allocations: 73.09 kB / 0.6709 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2468, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002359/0.2492, allocations: 1.356 MB / 0.7841 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008809/0.2501, allocations: 0.583 MB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.2501, allocations: 3.938 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.2501, allocations: 7.984 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.079e-05/0.2502, allocations: 3.938 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.2505, allocations: 79.7 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.723e-05/0.2506, allocations: 19.86 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.2506, allocations: 0 / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.2507, allocations: 8 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.2507, allocations: 15.92 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.2507, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.251, allocations: 155.7 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.251, allocations: 0 / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.2511, allocations: 4 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.2513, allocations: 92.06 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2513, allocations: 0 / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2513, allocations: 0 / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2513, allocations: 0 / 0.7851 GB, free: 11.57 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004115/0.2517, allocations: 343.5 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2518, allocations: 19.95 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.2518, allocations: 34.75 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.2522, allocations: 24.91 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2524, allocations: 160.4 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2524, allocations: 384 / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.2524, allocations: 4.375 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.2526, allocations: 58.16 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2526, allocations: 3.938 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2526, allocations: 0 / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2526, allocations: 0 / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.2527, allocations: 23.97 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.2529, allocations: 153.7 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.2531, allocations: 46.52 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.899e-05/0.2532, allocations: 16.92 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.2532, allocations: 0 / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.2532, allocations: 34.55 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.294e-06/0.2532, allocations: 4 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003012/0.2535, allocations: 73.55 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.2536, allocations: 55.39 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.2536, allocations: 93.86 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.2537, allocations: 29.7 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.2537, allocations: 84.14 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.2538, allocations: 11.97 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.2538, allocations: 17.7 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2539, allocations: 318.8 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.254, allocations: 7.984 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.254, allocations: 15.98 kB / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.2542, allocations: 28.91 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2542, allocations: 0 / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001675/0.2544, allocations: 65.61 kB / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2544, allocations: 7.938 kB / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2544, allocations: 0 / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2544, allocations: 0 / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.2545, allocations: 12.2 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2545, allocations: 4 kB / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.2546, allocations: 3.906 kB / 0.7867 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2546, allocations: 11.97 kB / 0.7868 GB, free: 9.602 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.497e-05/0.2547, allocations: 106.5 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.2547, allocations: 7.922 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.2548, allocations: 3.125 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2548, allocations: 8 kB / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2548, allocations: 3.938 kB / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2548, allocations: 0 / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.2549, allocations: 157.7 kB / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2549, allocations: 7.984 kB / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.527e-05/0.255, allocations: 4 kB / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.255, allocations: 3.938 kB / 0.787 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.255, allocations: 7.984 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.255, allocations: 0 / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.255, allocations: 0 / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.2552, allocations: 85.05 kB / 0.7871 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.2553, allocations: 89.09 kB / 0.7872 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.2553, allocations: 3.938 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.2554, allocations: 0 / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.2554, allocations: 4 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2554, allocations: 8.016 kB / 0.7872 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.2555, allocations: 79.28 kB / 0.7873 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2555, allocations: 0 / 0.7873 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001907/0.2557, allocations: 8 kB / 0.7873 GB, free: 8.926 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005044/0.2562, allocations: 0.6358 MB / 0.7879 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.2564, allocations: 31.97 kB / 0.788 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2564, allocations: 3.938 kB / 0.788 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.2564, allocations: 15.98 kB / 0.788 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.2567, allocations: 16.14 kB / 0.788 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.2572, allocations: 157.8 kB / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2574, allocations: 0.6731 MB / 0.7888 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.923e-05/0.2575, allocations: 12 kB / 0.7888 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.2576, allocations: 11.42 kB / 0.7888 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2576, allocations: 0 / 0.7888 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01018/0.2677, allocations: 1.416 MB / 0.7902 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.2679, allocations: 230.7 kB / 0.7904 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.872, allocations: 3.625 kB / 0.7904 GB, free: 5.758 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)