Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.007747/0.007747, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001366/0.001366, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.495/1.495, allocations: 205.1 MB / 222.6 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6654/0.6654, allocations: 95.48 MB / 365.4 MB, free: 9.699 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 70.39 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2112, allocations: 69.09 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002962/0.2142, allocations: 1.399 MB / 0.5724 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005404/0.2148, allocations: 208.7 kB / 0.5726 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.2148, allocations: 0 / 0.5726 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.2149, allocations: 3.938 kB / 0.5726 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.714e-05/0.2149, allocations: 7.922 kB / 0.5726 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.2152, allocations: 27.92 kB / 0.5727 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.664e-05/0.2153, allocations: 27.84 kB / 0.5727 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2155, allocations: 8 kB / 0.5727 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.2155, allocations: 11.98 kB / 0.5727 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.2156, allocations: 11.94 kB / 0.5727 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.2156, allocations: 0 / 0.5727 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.2157, allocations: 27.97 kB / 0.5728 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.2157, allocations: 8 kB / 0.5728 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.2158, allocations: 3.938 kB / 0.5728 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2159, allocations: 43.94 kB / 0.5728 GB, free: 6.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2159, allocations: 0 / 0.5728 GB, free: 6.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2159, allocations: 3.938 kB / 0.5728 GB, free: 6.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.216, allocations: 0 / 0.5728 GB, free: 6.523 MB / 446.1 MB 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.000511/0.2165, allocations: 343.5 kB / 0.5731 GB, free: 6.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.2165, allocations: 11.98 kB / 0.5732 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.2167, allocations: 8.844 kB / 0.5732 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2168, allocations: 160.4 kB / 0.5733 GB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2168, allocations: 4.312 kB / 0.5733 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2168, allocations: 4.375 kB / 0.5733 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.217, allocations: 50.17 kB / 0.5734 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.217, allocations: 4.188 kB / 0.5734 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2171, allocations: 7.938 kB / 0.5734 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2171, allocations: 3.984 kB / 0.5734 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.2172, allocations: 27.97 kB / 0.5734 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.2176, allocations: 241 kB / 0.5736 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.2178, allocations: 54.42 kB / 0.5737 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.2179, allocations: 20.91 kB / 0.5737 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.2179, allocations: 0 / 0.5737 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.2179, allocations: 30.56 kB / 0.5737 GB, free: 5.406 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.218, allocations: 4 kB / 0.5737 GB, free: 5.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003695/0.2183, allocations: 85.64 kB / 0.5738 GB, free: 5.312 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.2184, allocations: 51.41 kB / 0.5739 GB, free: 5.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.2185, allocations: 105.8 kB / 0.574 GB, free: 5.137 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2185, allocations: 25.7 kB / 0.574 GB, free: 5.105 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.2186, allocations: 80.14 kB / 0.5741 GB, free: 5.023 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.2186, allocations: 7.844 kB / 0.5741 GB, free: 5.016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.2186, allocations: 17.72 kB / 0.5741 GB, free: 4.992 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2188, allocations: 314.8 kB / 0.5744 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.2189, allocations: 16.02 kB / 0.5744 GB, free: 4.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-05/0.219, allocations: 19.98 kB / 0.5744 GB, free: 4.641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.2191, allocations: 36.81 kB / 0.5745 GB, free: 4.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2191, allocations: 4 kB / 0.5745 GB, free: 4.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001982/0.2193, allocations: 69.67 kB / 0.5745 GB, free: 4.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.2194, allocations: 8 kB / 0.5746 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2194, allocations: 192 / 0.5746 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.2194, allocations: 7.922 kB / 0.5746 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.2195, allocations: 7.938 kB / 0.5746 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2195, allocations: 0 / 0.5746 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.2196, allocations: 11.97 kB / 0.5746 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.2196, allocations: 4 kB / 0.5746 GB, free: 4.484 MB / 446.1 MB 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 8.577e-05/0.2197, allocations: 117.8 kB / 0.5747 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.2197, allocations: 0 / 0.5747 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.22, allocations: 80.72 kB / 0.5748 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.22, allocations: 0 / 0.5748 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.22, allocations: 4 kB / 0.5748 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.22, allocations: 0 / 0.5748 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.2202, allocations: 169.5 kB / 0.5749 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2202, allocations: 4 kB / 0.5749 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.2203, allocations: 8 kB / 0.5749 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2203, allocations: 3.938 kB / 0.575 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2203, allocations: 0 / 0.575 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2203, allocations: 7.922 kB / 0.575 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2203, allocations: 0 / 0.575 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.2206, allocations: 175.4 kB / 0.5751 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.2207, allocations: 77.11 kB / 0.5752 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.2207, allocations: 0 / 0.5752 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/0.2208, allocations: 11.98 kB / 0.5752 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.2208, allocations: 4 kB / 0.5752 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.2208, allocations: 0 / 0.5752 GB, free: 3.734 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.2209, allocations: 79.28 kB / 0.5753 GB, free: 3.656 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2209, allocations: 0 / 0.5753 GB, free: 3.656 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.2211, allocations: 4 kB / 0.5753 GB, free: 3.652 MB / 446.1 MB 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.0001291/0.2212, allocations: 107.2 kB / 0.5754 GB, free: 3.535 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.2215, allocations: 39.91 kB / 0.5754 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2215, allocations: 0 / 0.5754 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.2216, allocations: 23.97 kB / 0.5755 GB, free: 3.473 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.2219, allocations: 5.031 kB / 0.5755 GB, free: 3.469 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.2223, allocations: 114.8 kB / 0.5756 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.2226, allocations: 0.6768 MB / 0.5762 GB, free: 2.629 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.95e-05/0.2227, allocations: 0 / 0.5762 GB, free: 2.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.2227, allocations: 15.38 kB / 0.5762 GB, free: 2.613 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2227, allocations: 3.938 kB / 0.5763 GB, free: 2.609 MB / 446.1 MB Notification: Performance of Templates: time 0.003161/0.2259, allocations: 0.5005 MB / 0.5767 GB, free: 2.109 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)