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.001107/0.001107, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 196.3 kB / 16.53 MB, free: 6.699 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 472.6 MB / 0.7451 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 61.83 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2958, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002607/0.2984, allocations: 1.412 MB / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009579/0.2994, allocations: 0.5997 MB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.2994, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.2995, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.2995, allocations: 3.938 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.2999, allocations: 99.56 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.965e-05/0.3, allocations: 31.86 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.3001, allocations: 4 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.3001, allocations: 8 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.3002, allocations: 15.91 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3002, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.3004, allocations: 143.8 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.3005, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.3005, allocations: 19.92 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.3007, allocations: 100 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3007, allocations: 0 / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3007, allocations: 0 / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3007, allocations: 0 / 1.071 GB, free: 8.023 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.0004225/0.3011, allocations: 359.4 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.3012, allocations: 8.031 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000431/0.3016, allocations: 32.89 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3017, allocations: 168.3 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.3018, allocations: 4.375 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3018, allocations: 384 / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.302, allocations: 62.2 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.302, allocations: 192 / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.302, allocations: 3.938 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.302, allocations: 7.984 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.3023, allocations: 51.94 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.3028, allocations: 276.7 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.303, allocations: 66.41 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3032, allocations: 32.89 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.3032, allocations: 0 / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.3032, allocations: 42.5 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3032, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0005073/0.3037, allocations: 117.5 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.3038, allocations: 51.41 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.3038, allocations: 102 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.3039, allocations: 29.7 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.3039, allocations: 88.08 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.3039, allocations: 3.906 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.304, allocations: 17.7 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.3041, allocations: 314.8 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3042, allocations: 23.97 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.3043, allocations: 31.97 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.3046, allocations: 56.8 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3046, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003005/0.3049, allocations: 93.58 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3049, allocations: 4 kB / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.3049, allocations: 0 / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.305, allocations: 0 / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3051, allocations: 19.97 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3051, allocations: 4 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.149e-05/0.3052, allocations: 8.031 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3052, allocations: 3.984 kB / 1.073 GB, free: 5.754 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 7.195e-05/0.3053, allocations: 114.3 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.3053, allocations: 0 / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.3054, allocations: 3.125 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3054, allocations: 0 / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3054, allocations: 4 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3054, allocations: 4 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3056, allocations: 165.6 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3056, allocations: 0 / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.3057, allocations: 15.97 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3057, allocations: 0 / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3057, allocations: 4 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3057, allocations: 4 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3057, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.3061, allocations: 199.2 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.3061, allocations: 81.05 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3062, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3063, allocations: 11.98 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.3063, allocations: 4.031 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3064, allocations: 3.984 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.3064, allocations: 83.28 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3064, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002514/0.3067, allocations: 12 kB / 1.073 GB, free: 4.965 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.0001581/0.3068, allocations: 115.2 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.3072, allocations: 63.88 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3072, allocations: 0 / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3073, allocations: 31.97 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.3076, allocations: 5.812 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.308, allocations: 134.6 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.3083, allocations: 0.6768 MB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.193e-05/0.3084, allocations: 8 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.3084, allocations: 11.44 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3084, allocations: 0 / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of Templates: time 0.002903/0.3113, allocations: 0.7842 MB / 1.075 GB, free: 3.082 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)