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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00159/0.00159, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.327/1.327, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.597/1.597, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001322/0.001322, allocations: 64.97 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.217, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002922/0.22, allocations: 1.474 MB / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004487/0.2205, allocations: 209.3 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.2205, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.2206, allocations: 3.938 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.918e-05/0.2206, allocations: 7.938 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.2209, allocations: 23.97 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.814e-05/0.2209, allocations: 27.86 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2211, allocations: 4 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.636e-05/0.2211, allocations: 7.984 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.2212, allocations: 11.94 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.2212, allocations: 0 / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.2213, allocations: 31.95 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.2213, allocations: 8 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.2214, allocations: 11.94 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.2215, allocations: 36.12 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2215, allocations: 4 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2215, allocations: 0 / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2215, allocations: 0 / 0.7847 GB, free: 12.03 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.000414/0.2219, allocations: 335.5 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.222, allocations: 12.03 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.2221, allocations: 4.922 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2222, allocations: 172.3 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2222, allocations: 384 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.2222, allocations: 384 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.2224, allocations: 50.23 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2224, allocations: 192 / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.2224, allocations: 7.875 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2224, allocations: 0 / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.2226, allocations: 35.95 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.2229, allocations: 256.9 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.2231, allocations: 38.48 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.2232, allocations: 28.89 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.2232, allocations: 0 / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.2232, allocations: 38.5 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.2232, allocations: 0 / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003251/0.2236, allocations: 81.64 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2236, allocations: 51.41 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/0.2237, allocations: 97.86 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2237, allocations: 33.81 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.2237, allocations: 84.14 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.2237, allocations: 7.844 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.2238, allocations: 17.72 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.2239, allocations: 310.8 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.224, allocations: 15.97 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.224, allocations: 23.92 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2242, allocations: 40.83 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2242, allocations: 0 / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001777/0.2244, allocations: 69.59 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2244, allocations: 4 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2244, allocations: 0 / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.2244, allocations: 4 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.2245, allocations: 16.02 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2245, allocations: 0 / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.2246, allocations: 7.984 kB / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.2246, allocations: 4 kB / 0.7864 GB, free: 9.988 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.732e-05/0.2247, allocations: 113.8 kB / 0.7865 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.2247, allocations: 3.938 kB / 0.7865 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.225, allocations: 76.78 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.225, allocations: 3.984 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.225, allocations: 0 / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.225, allocations: 0 / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.2251, allocations: 165.5 kB / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2252, allocations: 0 / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.2252, allocations: 11.98 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2252, allocations: 0 / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2252, allocations: 0 / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2253, allocations: 4 kB / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2253, allocations: 0 / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.2255, allocations: 171.4 kB / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.2255, allocations: 81.09 kB / 0.787 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.2256, allocations: 4 kB / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.2256, allocations: 4 kB / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.2257, allocations: 7.984 kB / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.2257, allocations: 4 kB / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.2257, allocations: 75.28 kB / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2258, allocations: 0 / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002151/0.226, allocations: 8 kB / 0.7871 GB, free: 9.168 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.0001379/0.2261, allocations: 99.25 kB / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.2263, allocations: 48.31 kB / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2264, allocations: 0 / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.214e-05/0.2264, allocations: 19.98 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.2268, allocations: 15.8 kB / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.2271, allocations: 126.5 kB / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.2273, allocations: 0.6768 MB / 0.7881 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.2274, allocations: 12.05 kB / 0.7881 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.2274, allocations: 7.438 kB / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2274, allocations: 0 / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of Templates: time 0.002365/0.2298, allocations: 452.3 kB / 0.7885 GB, free: 7.664 MB / 0.6075 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)