Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009774/0.0009776, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00584/0.00584, allocations: 170 kB / 16.26 MB, free: 6.613 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.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.000422, allocations: 10.88 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3949, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001544/0.3965, allocations: 1.027 MB / 1.075 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3977, allocations: 0.635 MB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.842e-05/0.3978, allocations: 4 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.3978, allocations: 3.938 kB / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.3979, allocations: 0 / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.3983, allocations: 99.56 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.82e-05/0.3984, allocations: 19.92 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.3984, allocations: 0 / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.938e-05/0.3985, allocations: 11.98 kB / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.3985, allocations: 11.94 kB / 1.076 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.3986, allocations: 0 / 1.076 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.3989, allocations: 155.7 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.3989, allocations: 8 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.399, allocations: 33.64 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.3992, allocations: 100 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3992, allocations: 0 / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3992, allocations: 4 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3992, allocations: 0 / 1.076 GB, free: 5.438 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004704/0.3997, allocations: 351.5 kB / 1.077 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3997, allocations: 12.03 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000427/0.4002, allocations: 28.89 kB / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4003, allocations: 168.3 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4003, allocations: 384 / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.4004, allocations: 4.375 kB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.4005, allocations: 62.2 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4006, allocations: 192 / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.4006, allocations: 7.875 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.4006, allocations: 0 / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.4007, allocations: 31.97 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.401, allocations: 169.5 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.4013, allocations: 66.53 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.727e-05/0.4014, allocations: 28.94 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.4015, allocations: 4 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.4015, allocations: 34.5 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4015, allocations: 0 / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.003544/0.405, allocations: 0.5798 MB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.4051, allocations: 55.41 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.4052, allocations: 93.84 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.4052, allocations: 29.7 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.4052, allocations: 84.14 kB / 1.078 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.4053, allocations: 11.72 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.4053, allocations: 25.83 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4054, allocations: 310.8 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.4056, allocations: 39.97 kB / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.4057, allocations: 31.97 kB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.406, allocations: 84.81 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.406, allocations: 3.938 kB / 1.078 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003556/0.4064, allocations: 121.6 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.4064, allocations: 7.938 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4064, allocations: 4 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4065, allocations: 4 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.4067, allocations: 19.97 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4067, allocations: 4.172 kB / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.4069, allocations: 7.984 kB / 1.079 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.4069, allocations: 4 kB / 1.079 GB, free: 2.711 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 (7): * Single equations (assignments): 7 * 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.947e-05/0.407, allocations: 117.8 kB / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.407, allocations: 7.938 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.406e-05/0.4071, allocations: 19.78 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4071, allocations: 4 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4071, allocations: 4.062 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4071, allocations: 0 / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.4073, allocations: 195.4 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4073, allocations: 0 / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.4076, allocations: 19.97 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4076, allocations: 3.938 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.4076, allocations: 7.984 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4076, allocations: 0 / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4076, allocations: 3.984 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/0.4082, allocations: 185.4 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.4082, allocations: 85.08 kB / 1.079 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.4083, allocations: 3.984 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.4085, allocations: 12.06 kB / 1.079 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.4085, allocations: 15.91 kB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.4085, allocations: 4 kB / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.4086, allocations: 75.28 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4086, allocations: 0 / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002836/0.4089, allocations: 35.92 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002503/0.4091, allocations: 127.2 kB / 1.079 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.4095, allocations: 88.02 kB / 1.08 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4095, allocations: 0 / 1.08 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.4097, allocations: 47.89 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.4099, allocations: 12 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006983/0.4106, allocations: 180.5 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.4109, allocations: 0.6809 MB / 1.08 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002362/0.4112, allocations: 31.92 kB / 1.08 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.4112, allocations: 15.42 kB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4112, allocations: 0 / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of Templates: time 0.004459/0.4157, allocations: 1.452 MB / 1.082 GB, free: 15.18 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)