Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.63/1.63, allocations: 288.4 MB / 303.6 MB, free: 7.996 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.001021/0.001021, allocations: 186.8 kB / 372.3 MB, free: 10.14 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.585/1.585, allocations: 205.4 MB / 0.631 GB, free: 9.93 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.0007976/0.0007979, allocations: 90.84 kB / 0.7444 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.000411, allocations: 16.25 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2062, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001329/0.2075, allocations: 1.121 MB / 0.9813 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003796/0.2079, allocations: 204.4 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.208, allocations: 4 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.208, allocations: 0 / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.674e-05/0.2081, allocations: 3.938 kB / 0.9815 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.2083, allocations: 19.91 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.2083, allocations: 27.86 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.231e-05/0.2084, allocations: 7.984 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.2085, allocations: 15.94 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.2085, allocations: 7.984 kB / 0.9816 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.2085, allocations: 0 / 0.9816 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.058e-05/0.2086, allocations: 23.98 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.2086, allocations: 0 / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.2087, allocations: 33.64 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.326e-05/0.2087, allocations: 32.17 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2088, allocations: 0 / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2088, allocations: 0 / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2088, allocations: 0 / 0.9816 GB, free: 25.77 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.0003359/0.2091, allocations: 347.5 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2092, allocations: 8.031 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.2092, allocations: 34.73 kB / 0.982 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.867e-05/0.2093, allocations: 4.938 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.272e-05/0.2094, allocations: 164.3 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.2094, allocations: 384 / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.2094, allocations: 8.312 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.2096, allocations: 58.23 kB / 0.9822 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2096, allocations: 3.938 kB / 0.9822 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.2096, allocations: 0 / 0.9822 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2096, allocations: 0 / 0.9822 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.2098, allocations: 51.94 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.2101, allocations: 252.9 kB / 0.9825 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.2102, allocations: 51.3 kB / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.2103, allocations: 32.84 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.2104, allocations: 0 / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.2104, allocations: 34.56 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2104, allocations: 0 / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003307/0.2107, allocations: 97.64 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.2108, allocations: 51.41 kB / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.123e-05/0.2108, allocations: 109.8 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.2108, allocations: 25.7 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.2109, allocations: 84.27 kB / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.2109, allocations: 3.906 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.2109, allocations: 0 / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.04e-05/0.2109, allocations: 314.8 kB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.211, allocations: 19.98 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.2111, allocations: 31.97 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.2113, allocations: 44.83 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2113, allocations: 3.938 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001787/0.2114, allocations: 81.66 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2115, allocations: 5.875 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2115, allocations: 3.938 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2115, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.2116, allocations: 11.98 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2116, allocations: 8.031 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.2117, allocations: 4 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.2117, allocations: 3.984 kB / 0.9835 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 4.701e-05/0.2117, allocations: 117.8 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.2117, allocations: 0 / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.212, allocations: 84.78 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.212, allocations: 4 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.212, allocations: 3.984 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.212, allocations: 0 / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.2121, allocations: 157.6 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2121, allocations: 0 / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.2122, allocations: 23.92 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2122, allocations: 0 / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2122, allocations: 0 / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2122, allocations: 0 / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2122, allocations: 3.938 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.2124, allocations: 183.4 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.2125, allocations: 77.11 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.2125, allocations: 3.984 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.2126, allocations: 8 kB / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.2126, allocations: 7.984 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.2126, allocations: 4 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.02e-05/0.2126, allocations: 79.56 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2126, allocations: 0 / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001954/0.2128, allocations: 8 kB / 0.9842 GB, free: 22.77 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 (3): * Single equations (assignments): 3 * 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.0003544/0.2132, allocations: 0.7164 MB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.2134, allocations: 47.97 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2134, allocations: 0 / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.2135, allocations: 31.97 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.2138, allocations: 11.94 kB / 0.985 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.2141, allocations: 154.2 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.23e-05/0.2142, allocations: 0.677 MB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.2143, allocations: 4 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.2143, allocations: 23.36 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2143, allocations: 0 / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/0.3684, allocations: 1.099 MB / 0.9869 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.3686, allocations: 212.7 kB / 0.9871 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.104, allocations: 4.062 kB / 0.9871 GB, free: 19.86 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)