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.001048/0.001048, allocations: 108 kB / 15.6 MB, free: 132 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.001187/0.001187, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.33/1.33, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.711/1.711, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001558/0.001558, allocations: 69.88 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2215, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002504/0.2241, allocations: 1.406 MB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00041/0.2245, allocations: 208.3 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.2245, allocations: 4 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.2246, allocations: 7.875 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.2246, allocations: 3.938 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.2248, allocations: 23.84 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.894e-05/0.2249, allocations: 27.92 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.225, allocations: 11.98 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.225, allocations: 4 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.314e-05/0.2251, allocations: 11.92 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2251, allocations: 4 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.569e-05/0.2252, allocations: 23.98 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.2252, allocations: 4 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.2252, allocations: 15.92 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.2253, allocations: 40.11 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2253, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2254, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2254, allocations: 0 / 0.7851 GB, free: 11.7 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.000391/0.2258, allocations: 339.5 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.2258, allocations: 8.031 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.2259, allocations: 4.938 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.226, allocations: 168.3 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.226, allocations: 4.375 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.2261, allocations: 4.359 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.2262, allocations: 58.17 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2262, allocations: 192 / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2262, allocations: 3.938 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2263, allocations: 0 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.2264, allocations: 31.97 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.2267, allocations: 252.9 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.2269, allocations: 38.5 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.227, allocations: 24.84 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.227, allocations: 4 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.227, allocations: 30.56 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.227, allocations: 0 / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003513/0.2274, allocations: 85.64 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.2274, allocations: 51.41 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.385e-05/0.2275, allocations: 101.8 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.2275, allocations: 25.7 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.2275, allocations: 80.14 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.2275, allocations: 7.906 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.2276, allocations: 21.83 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.2277, allocations: 310.8 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.738e-05/0.2278, allocations: 23.92 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.2279, allocations: 15.98 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.228, allocations: 44.75 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.228, allocations: 4.062 kB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.2282, allocations: 69.55 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2283, allocations: 7.984 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2283, allocations: 0 / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2283, allocations: 0 / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.2284, allocations: 8 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2284, allocations: 0 / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.634e-05/0.2284, allocations: 15.95 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.2285, allocations: 4 kB / 0.7869 GB, free: 9.664 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.167e-05/0.2285, allocations: 109.8 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.2286, allocations: 4 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.2288, allocations: 76.77 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2288, allocations: 0 / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2288, allocations: 4 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2288, allocations: 0 / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.229, allocations: 165.5 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.229, allocations: 0 / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.2291, allocations: 8 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2291, allocations: 0 / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2291, allocations: 3.984 kB / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2291, allocations: 4 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.2291, allocations: 4.172 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.2293, allocations: 171.4 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.2294, allocations: 77.11 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.2294, allocations: 8 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.2295, allocations: 7.984 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.2295, allocations: 0 / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.2295, allocations: 0 / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.2296, allocations: 83.27 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2296, allocations: 4 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002239/0.2298, allocations: 8 kB / 0.7876 GB, free: 8.84 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 9.034e-05/0.2299, allocations: 99.25 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.2301, allocations: 39.89 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2301, allocations: 0 / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-05/0.2302, allocations: 19.98 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.2305, allocations: 14.41 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.2308, allocations: 122.4 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.231, allocations: 0.6806 MB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.231, allocations: 4 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.2311, allocations: 19.38 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of SimCode: time 1.433e-06/0.2311, allocations: 0 / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of Templates: time 0.002381/0.2335, allocations: 0.4959 MB / 0.789 GB, free: 7.293 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)