Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002111/0.002111, allocations: 190.9 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.017/3.017, allocations: 472.6 MB / 0.7448 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 70.17 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3206, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002373/0.323, allocations: 1.351 MB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008882/0.3239, allocations: 0.5648 MB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.324, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.324, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.324, allocations: 11.92 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.3244, allocations: 83.7 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.079e-05/0.3245, allocations: 27.8 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.3245, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.3246, allocations: 8 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.3246, allocations: 7.938 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.3246, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.3249, allocations: 147.8 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.3249, allocations: 7.922 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.3249, allocations: 15.94 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.3251, allocations: 92 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3251, allocations: 4 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3251, allocations: 0 / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.3251, allocations: 0 / 1.07 GB, free: 8.441 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000359/0.3255, allocations: 335.5 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3255, allocations: 8.031 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004516/0.326, allocations: 36.8 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3261, allocations: 168.4 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3261, allocations: 384 / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.3262, allocations: 384 / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3264, allocations: 50.2 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3264, allocations: 4.125 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3264, allocations: 7.938 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3264, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.3265, allocations: 19.98 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.3267, allocations: 165.5 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.3269, allocations: 38.59 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.751e-05/0.3269, allocations: 28.84 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.327, allocations: 3.984 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.327, allocations: 30.56 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.327, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000301/0.3273, allocations: 77.53 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.3273, allocations: 55.53 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.3274, allocations: 97.84 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3274, allocations: 25.7 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.3275, allocations: 84.14 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.3275, allocations: 3.906 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.3276, allocations: 17.7 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3277, allocations: 310.8 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.3278, allocations: 19.98 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.569e-05/0.3278, allocations: 8 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.328, allocations: 36.77 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.328, allocations: 0 / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001742/0.3281, allocations: 57.73 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3282, allocations: 9.25 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3282, allocations: 3.938 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3282, allocations: 0 / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.3283, allocations: 7.984 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3283, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.827e-05/0.3284, allocations: 4 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3284, allocations: 4 kB / 1.072 GB, free: 6.531 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 8.327e-05/0.3285, allocations: 121.7 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.3285, allocations: 4 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.3286, allocations: 7.062 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3286, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3286, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3286, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.3287, allocations: 157.6 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3287, allocations: 4 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.46e-05/0.3288, allocations: 19.92 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3288, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3288, allocations: 3.938 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3288, allocations: 3.938 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3288, allocations: 0 / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.329, allocations: 89.09 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.3291, allocations: 81.09 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.3291, allocations: 11.94 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.3292, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/0.3292, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.3292, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.385e-05/0.3293, allocations: 79.45 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3293, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002069/0.3295, allocations: 16 kB / 1.072 GB, free: 5.844 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.0001695/0.3297, allocations: 115.2 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3299, allocations: 31.97 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3299, allocations: 0 / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.3299, allocations: 11.98 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.3302, allocations: 14.83 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.3306, allocations: 122.6 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3308, allocations: 0.6767 MB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.377e-05/0.3309, allocations: 15.92 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.3309, allocations: 15.42 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3309, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of Templates: time 0.002826/0.3338, allocations: 0.7217 MB / 1.074 GB, free: 4.074 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)