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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001651/0.001652, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002134/0.002134, allocations: 196.5 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 62.72 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3316, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003319/0.335, allocations: 1.466 MB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005699/0.3356, allocations: 207.5 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.3356, allocations: 0 / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.3357, allocations: 7.875 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.158e-05/0.3358, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.3361, allocations: 27.89 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.327e-05/0.3362, allocations: 15.94 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3363, allocations: 15.98 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.035e-05/0.3363, allocations: 4 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.065e-05/0.3364, allocations: 15.92 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3364, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3365, allocations: 23.98 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.3365, allocations: 11.98 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.3366, allocations: 7.938 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.3367, allocations: 40.17 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3367, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3367, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3368, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 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.0004896/0.3373, allocations: 349.3 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3373, allocations: 8.031 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.3375, allocations: 8.875 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3376, allocations: 160.4 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3376, allocations: 384 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.3376, allocations: 384 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3378, allocations: 50.23 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3378, allocations: 4.188 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3379, allocations: 3.938 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3379, allocations: 4 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.338, allocations: 31.95 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.3385, allocations: 252.8 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.3386, allocations: 50.52 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.3387, allocations: 20.91 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3387, allocations: 3.938 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3388, allocations: 30.56 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3388, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003933/0.3392, allocations: 93.48 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3392, allocations: 51.41 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.979e-05/0.3393, allocations: 105.8 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3393, allocations: 25.7 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.3394, allocations: 80.14 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.3394, allocations: 7.891 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.3395, allocations: 17.72 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3396, allocations: 319 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.3397, allocations: 11.98 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.3398, allocations: 19.98 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.34, allocations: 40.75 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.34, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001979/0.3402, allocations: 73.61 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3402, allocations: 4 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3402, allocations: 4 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3402, allocations: 0 / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.3403, allocations: 7.984 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.3404, allocations: 0 / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.3404, allocations: 7.984 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3404, allocations: 0 / 1.071 GB, free: 6.969 MB / 0.8262 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 9.65e-05/0.3405, allocations: 123.6 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.3406, allocations: 0 / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.3408, allocations: 80.7 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3408, allocations: 4 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3409, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3409, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.341, allocations: 169.6 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3411, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.132e-05/0.3411, allocations: 8 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3411, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3412, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3412, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3412, allocations: 3.984 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3414, allocations: 175.4 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.3415, allocations: 77.11 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3415, allocations: 4 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.3416, allocations: 7.984 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.3416, allocations: 3.938 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3417, allocations: 4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.3417, allocations: 83.22 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3417, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002239/0.3419, allocations: 4 kB / 1.072 GB, free: 6.137 MB / 0.8262 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.0001206/0.3421, allocations: 107.7 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.3423, allocations: 35.97 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3423, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.99e-05/0.3424, allocations: 23.97 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3427, allocations: 7.875 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.343, allocations: 130.6 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.3433, allocations: 0.6846 MB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.592e-05/0.3434, allocations: 0 / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.3435, allocations: 7.438 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.3435, allocations: 4 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of Templates: time 0.002822/0.3463, allocations: 453.7 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB 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)