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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 292.3 MB / 308.1 MB, free: 4.305 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.001439/0.001439, allocations: 186.2 kB / 376.9 MB, free: 1.824 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.449/1.449, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 99.78 kB / 0.748 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2076, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002519/0.2101, allocations: 1.473 MB / 0.9836 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004275/0.2106, allocations: 204.3 kB / 0.9838 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.2106, allocations: 0 / 0.9838 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.2106, allocations: 4 kB / 0.9838 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.139e-05/0.2107, allocations: 3.938 kB / 0.9838 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.2109, allocations: 23.95 kB / 0.9839 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.482e-05/0.2109, allocations: 27.88 kB / 0.9839 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.912e-05/0.211, allocations: 7.984 kB / 0.9839 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.644e-05/0.2111, allocations: 7.938 kB / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.366e-05/0.2111, allocations: 11.98 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2111, allocations: 0 / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.676e-05/0.2112, allocations: 27.97 kB / 0.984 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.2112, allocations: 7.938 kB / 0.984 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.2112, allocations: 8 kB / 0.984 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.2114, allocations: 40.05 kB / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2114, allocations: 0 / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.21e-07/0.2114, allocations: 0 / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.2114, allocations: 0 / 0.984 GB, free: 8.539 MB / 0.7136 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.0004118/0.2118, allocations: 339.5 kB / 0.9843 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2118, allocations: 8.031 kB / 0.9843 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.212, allocations: 4.938 kB / 0.9843 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.2121, allocations: 176.2 kB / 0.9845 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2121, allocations: 4.375 kB / 0.9845 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.2121, allocations: 4.375 kB / 0.9845 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.2123, allocations: 50.23 kB / 0.9846 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2123, allocations: 4.125 kB / 0.9846 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.2123, allocations: 7.875 kB / 0.9846 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2123, allocations: 0 / 0.9846 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.2125, allocations: 35.95 kB / 0.9846 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.2128, allocations: 248.9 kB / 0.9848 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.2129, allocations: 42.53 kB / 0.9849 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.213, allocations: 16.91 kB / 0.9849 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.213, allocations: 0 / 0.9849 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.2131, allocations: 42.5 kB / 0.9849 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.2131, allocations: 0 / 0.9849 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002967/0.2134, allocations: 77.64 kB / 0.985 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.2134, allocations: 55.41 kB / 0.9851 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.526e-05/0.2135, allocations: 101.8 kB / 0.9852 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.2135, allocations: 29.83 kB / 0.9852 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.2135, allocations: 80.14 kB / 0.9853 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.2136, allocations: 7.906 kB / 0.9853 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.2136, allocations: 13.72 kB / 0.9853 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.2137, allocations: 314.8 kB / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.2138, allocations: 19.98 kB / 0.9856 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.2138, allocations: 15.92 kB / 0.9856 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.214, allocations: 44.88 kB / 0.9857 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.214, allocations: 0 / 0.9857 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001757/0.2142, allocations: 65.61 kB / 0.9857 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2142, allocations: 8 kB / 0.9857 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.2142, allocations: 0 / 0.9857 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2142, allocations: 4.031 kB / 0.9857 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.2143, allocations: 11.98 kB / 0.9858 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.2143, allocations: 4 kB / 0.9858 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.2144, allocations: 7.984 kB / 0.9858 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.2144, allocations: 0 / 0.9858 GB, free: 6.504 MB / 0.7136 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.482e-05/0.2145, allocations: 113.7 kB / 0.9859 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.2145, allocations: 7.844 kB / 0.9859 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.2147, allocations: 80.77 kB / 0.986 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2147, allocations: 4 kB / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2147, allocations: 0 / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2148, allocations: 0 / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.2149, allocations: 161.6 kB / 0.9861 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2149, allocations: 3.938 kB / 0.9861 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.215, allocations: 12 kB / 0.9861 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.215, allocations: 0 / 0.9861 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.215, allocations: 240 / 0.9861 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.215, allocations: 4 kB / 0.9861 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.215, allocations: 11.97 kB / 0.9862 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.2155, allocations: 0.7278 MB / 0.9869 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.2156, allocations: 77.11 kB / 0.9869 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.2156, allocations: 4 kB / 0.9869 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.2157, allocations: 7.984 kB / 0.9869 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.2157, allocations: 7.938 kB / 0.987 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2157, allocations: 3.938 kB / 0.987 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.2157, allocations: 79.28 kB / 0.987 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.2158, allocations: 0 / 0.987 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000294/0.2161, allocations: 11.91 kB / 0.987 GB, free: 5.059 MB / 0.7136 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 9.383e-05/0.2162, allocations: 103.2 kB / 0.9871 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.2163, allocations: 35.97 kB / 0.9872 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2163, allocations: 0 / 0.9872 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.2164, allocations: 23.97 kB / 0.9872 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.2167, allocations: 10.52 kB / 0.9872 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.217, allocations: 239.3 kB / 0.9874 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.2172, allocations: 0.677 MB / 0.9881 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.2172, allocations: 4 kB / 0.9881 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.2173, allocations: 7.438 kB / 0.9881 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/0.2173, allocations: 0 / 0.9881 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of Templates: time 0.0019/0.2192, allocations: 440.4 kB / 0.9885 GB, free: 3.461 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (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 & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)