Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00132/0.00132, allocations: 198.5 kB / 16.25 MB, free: 6.617 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.515/1.515, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 62.11 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3203, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002896/0.3232, allocations: 1.473 MB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3243, allocations: 0.5959 MB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.3243, allocations: 4 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.3244, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.3245, allocations: 3.938 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.325, allocations: 83.7 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.754e-05/0.3251, allocations: 31.91 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.3252, allocations: 8 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.3252, allocations: 7.984 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.3253, allocations: 11.94 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.3253, allocations: 7.938 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.3256, allocations: 151.7 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.3256, allocations: 7.984 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.3256, allocations: 7.938 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.3259, allocations: 104 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3259, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3259, allocations: 4 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3259, allocations: 4 kB / 1.07 GB, free: 8.297 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.0004302/0.3263, allocations: 355.4 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3264, allocations: 12.03 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/0.3268, allocations: 24.91 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.327, allocations: 164.4 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.327, allocations: 384 / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.327, allocations: 8.375 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.3273, allocations: 66.2 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3273, allocations: 192 / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3273, allocations: 3.938 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3273, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.3276, allocations: 59.88 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.3281, allocations: 268.8 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.3284, allocations: 58.48 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.3285, allocations: 36.83 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3285, allocations: 7.984 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3286, allocations: 38.48 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3286, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0005394/0.3291, allocations: 117.5 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3292, allocations: 51.41 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.3293, allocations: 101.8 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3293, allocations: 25.7 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.3294, allocations: 84.08 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.3294, allocations: 16.02 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.3294, allocations: 13.72 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3296, allocations: 318.8 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3297, allocations: 23.97 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3298, allocations: 27.97 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.3301, allocations: 56.81 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3301, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003065/0.3304, allocations: 101.6 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3304, allocations: 4 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3304, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.3305, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3306, allocations: 15.98 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3306, allocations: 3.938 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.773e-05/0.3307, allocations: 11.98 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3307, allocations: 0 / 1.072 GB, free: 6.035 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.314e-05/0.3308, allocations: 113.8 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.3309, allocations: 7.984 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.3309, allocations: 7.125 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3309, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3309, allocations: 3.938 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3309, allocations: 0 / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.3311, allocations: 165.6 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3311, allocations: 0 / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.3313, allocations: 15.98 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3313, allocations: 0 / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3313, allocations: 7.984 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3313, allocations: 3.938 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3313, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.3317, allocations: 187.3 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.3317, allocations: 81.09 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.3318, allocations: 0 / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3319, allocations: 11.98 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.3319, allocations: 4 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.332, allocations: 0 / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.134e-05/0.332, allocations: 79.28 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.824e-06/0.332, allocations: 4.031 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002605/0.3323, allocations: 23.92 kB / 1.073 GB, free: 5.238 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 (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 Backend phase and start with SimCode phase: time 0.000175/0.3325, allocations: 99.25 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.3328, allocations: 67.92 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3328, allocations: 4.062 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.333, allocations: 27.97 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3333, allocations: 7.938 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.3337, allocations: 144.2 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.334, allocations: 0.6729 MB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.576e-05/0.3341, allocations: 11.94 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.3341, allocations: 15.42 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3341, allocations: 0 / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of Templates: time 0.002836/0.3369, allocations: 0.7237 MB / 1.075 GB, free: 3.41 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)