Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.373/1.373, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 180.7 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.224/2.224, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001012, allocations: 90.72 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 12.84 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2137, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00157/0.2153, allocations: 1.137 MB / 0.8978 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004833/0.2159, allocations: 221 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.2159, allocations: 0 / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.216, allocations: 0 / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.216, allocations: 3.938 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.2162, allocations: 19.97 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.2163, allocations: 27.86 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.2164, allocations: 3.938 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/0.2164, allocations: 15.92 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.728e-05/0.2165, allocations: 4 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.2165, allocations: 8 kB / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.294e-05/0.2166, allocations: 27.95 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.2166, allocations: 3.938 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.2166, allocations: 8 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.049e-05/0.2167, allocations: 27.97 kB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2167, allocations: 0 / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2167, allocations: 0 / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2168, allocations: 0 / 0.8982 GB, free: 66.63 MB / 0.6042 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.0003772/0.2171, allocations: 343.5 kB / 0.8985 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2172, allocations: 12.03 kB / 0.8985 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.2173, allocations: 0.9375 kB / 0.8985 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.801e-05/0.2174, allocations: 172.3 kB / 0.8987 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2174, allocations: 384 / 0.8987 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2174, allocations: 4.375 kB / 0.8987 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.2176, allocations: 54.23 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2176, allocations: 192 / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.2176, allocations: 7.938 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2177, allocations: 7.938 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.2178, allocations: 39.97 kB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.2181, allocations: 249 kB / 0.8991 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.2182, allocations: 42.5 kB / 0.8991 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.2183, allocations: 28.91 kB / 0.8991 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2184, allocations: 3.984 kB / 0.8991 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.2184, allocations: 34.5 kB / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2184, allocations: 0 / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003213/0.2187, allocations: 101.6 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.2187, allocations: 51.41 kB / 0.8993 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.191e-05/0.2188, allocations: 97.86 kB / 0.8994 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.2188, allocations: 25.7 kB / 0.8994 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.2188, allocations: 84.12 kB / 0.8995 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.2189, allocations: 11.89 kB / 0.8995 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.2189, allocations: 17.84 kB / 0.8995 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.2189, allocations: 310.8 kB / 0.8998 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.219, allocations: 19.98 kB / 0.8998 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.2191, allocations: 19.98 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.2193, allocations: 56.81 kB / 0.8999 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2193, allocations: 0 / 0.8999 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001831/0.2195, allocations: 85.59 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2195, allocations: 4 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2195, allocations: 3.938 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2195, allocations: 192 / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.2196, allocations: 8 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2196, allocations: 7.922 kB / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.2197, allocations: 15.94 kB / 0.9 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.2197, allocations: 0 / 0.9 GB, free: 64.52 MB / 0.6042 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 4.935e-05/0.2197, allocations: 117.8 kB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.2198, allocations: 3.984 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.22, allocations: 92.7 kB / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.22, allocations: 0 / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.22, allocations: 0 / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.22, allocations: 4 kB / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.2201, allocations: 165.5 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2201, allocations: 0 / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-05/0.2202, allocations: 11.98 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2202, allocations: 4 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2202, allocations: 4 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2202, allocations: 4 kB / 0.9004 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2202, allocations: 0 / 0.9004 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.2205, allocations: 183.4 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.2205, allocations: 81.02 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2205, allocations: 4 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.2206, allocations: 11.98 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2206, allocations: 0 / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.2206, allocations: 0 / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.313e-05/0.2207, allocations: 83.27 kB / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2207, allocations: 0 / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001995/0.2209, allocations: 4 kB / 0.9008 GB, free: 63.67 MB / 0.6042 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.412e-05/0.221, allocations: 107.2 kB / 0.9009 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.2212, allocations: 47.95 kB / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2212, allocations: 0 / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.2213, allocations: 27.98 kB / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.2215, allocations: 11.94 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.2218, allocations: 146.1 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.2219, allocations: 0.677 MB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.222, allocations: 11.44 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.222, allocations: 0 / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.001558/0.2235, allocations: 0.5742 MB / 0.9023 GB, free: 62.01 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)