Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001165, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.425/1.425, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.692/1.692, allocations: 292.3 MB / 0.5489 GB, free: 13.49 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.00141/0.00141, allocations: 65.94 kB / 0.6716 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2127, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002407/0.2151, allocations: 1.41 MB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000411/0.2155, allocations: 200.3 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.2156, allocations: 3.938 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.2156, allocations: 3.938 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.2156, allocations: 11.92 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.2159, allocations: 23.91 kB / 0.7851 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.222e-05/0.2159, allocations: 23.92 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.176e-05/0.216, allocations: 4 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.2161, allocations: 4 kB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.2161, allocations: 19.91 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2161, allocations: 8 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.581e-05/0.2162, allocations: 27.98 kB / 0.7852 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.2162, allocations: 3.984 kB / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.2163, allocations: 11.94 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.2164, allocations: 40.11 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2164, allocations: 0 / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2164, allocations: 0 / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2164, allocations: 0 / 0.7852 GB, free: 11.67 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.0003916/0.2168, allocations: 343.5 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2168, allocations: 8.031 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.2169, allocations: 30.75 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.217, allocations: 8.922 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.2171, allocations: 164.3 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2171, allocations: 4.375 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.2171, allocations: 384 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.2173, allocations: 54.17 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2173, allocations: 3.938 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.2173, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2173, allocations: 4 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.2175, allocations: 35.95 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.2178, allocations: 248.8 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.2179, allocations: 46.42 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.218, allocations: 28.91 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.218, allocations: 0 / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.2181, allocations: 30.56 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2181, allocations: 0 / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003351/0.2184, allocations: 81.73 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.2184, allocations: 55.44 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.2185, allocations: 101.8 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.2185, allocations: 29.64 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.2186, allocations: 80.14 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.2186, allocations: 7.906 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.2186, allocations: 13.72 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.2187, allocations: 314.8 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.2188, allocations: 23.91 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.87e-05/0.2189, allocations: 15.98 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.219, allocations: 36.83 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.219, allocations: 3.938 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001821/0.2192, allocations: 69.72 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2193, allocations: 4 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2193, allocations: 0 / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2193, allocations: 0 / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.2194, allocations: 16.11 kB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2194, allocations: 0 / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.2194, allocations: 7.984 kB / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.2194, allocations: 0 / 0.787 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 6.494e-05/0.2195, allocations: 118.9 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.2195, allocations: 7.984 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.2198, allocations: 80.67 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2198, allocations: 0 / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2198, allocations: 4 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2198, allocations: 0 / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.2199, allocations: 157.6 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.22, allocations: 0 / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.22, allocations: 15.98 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.22, allocations: 3.938 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.22, allocations: 4 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2201, allocations: 0 / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2201, allocations: 3.984 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.2203, allocations: 163.5 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.2203, allocations: 85.09 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2203, allocations: 4 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.2204, allocations: 11.94 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.2205, allocations: 3.984 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2205, allocations: 0 / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.2205, allocations: 79.28 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2205, allocations: 0 / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002172/0.2207, allocations: 4 kB / 0.7877 GB, free: 8.77 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 (3): * Single equations (assignments): 3 * 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.0004474/0.2212, allocations: 0.7123 MB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.2214, allocations: 35.97 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2214, allocations: 3.938 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.2215, allocations: 31.97 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2218, allocations: 12.81 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.2222, allocations: 144.3 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.2224, allocations: 0.6807 MB / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.2224, allocations: 4 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.2224, allocations: 11.42 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2225, allocations: 0 / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.2365, allocations: 1.343 MB / 0.7906 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.973/7.209, allocations: 17.94 kB / 0.7906 GB, free: 5.809 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)