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.001045/0.001045, allocations: 108 kB / 15.61 MB, free: 152 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.001088/0.001088, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7451 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.69 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3368, allocations: 159.9 MB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002384/0.3393, allocations: 1.284 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3403, allocations: 0.6447 MB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.3403, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.3404, allocations: 4 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.881e-05/0.3404, allocations: 3.938 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.3409, allocations: 115.5 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.675e-05/0.3409, allocations: 19.94 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.341, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.341, allocations: 11.98 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.3411, allocations: 19.92 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3411, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.3414, allocations: 143.8 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.3414, allocations: 3.984 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.3414, allocations: 11.94 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.3416, allocations: 100 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3416, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3416, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3416, allocations: 4 kB / 1.07 GB, free: 8.176 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.0004711/0.3421, allocations: 359.4 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.3422, allocations: 11.97 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000428/0.3426, allocations: 36.8 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3427, allocations: 160.4 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3427, allocations: 384 / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.3428, allocations: 8.359 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3429, allocations: 58.22 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.343, allocations: 4.188 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.343, allocations: 3.938 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.343, allocations: 0 / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.3431, allocations: 31.91 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.3433, allocations: 165.6 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.3437, allocations: 66.53 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.801e-05/0.3438, allocations: 24.94 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3438, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3438, allocations: 42.56 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.3438, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.003505/0.3473, allocations: 0.5719 MB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3474, allocations: 55.39 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.3475, allocations: 97.86 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.3475, allocations: 29.7 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.3475, allocations: 80.14 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.3476, allocations: 15.72 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.3476, allocations: 29.69 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3478, allocations: 314.8 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3479, allocations: 40.09 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3481, allocations: 39.95 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.3484, allocations: 76.83 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3484, allocations: 4 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003813/0.3488, allocations: 125.5 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3488, allocations: 11.88 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3488, allocations: 7.922 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3489, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.3491, allocations: 23.97 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3492, allocations: 4 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.3493, allocations: 4.062 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.3493, allocations: 11.98 kB / 1.073 GB, free: 5.426 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 8.43e-05/0.3494, allocations: 109.8 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.3495, allocations: 11.84 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.3495, allocations: 11.97 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3495, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.3496, allocations: 4 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3496, allocations: 4.266 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.3497, allocations: 179.5 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3497, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.35, allocations: 23.97 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.35, allocations: 7.938 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.35, allocations: 15.97 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.35, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.35, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.3506, allocations: 189 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.3506, allocations: 81.05 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.3507, allocations: 4.031 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.3509, allocations: 7.984 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.3509, allocations: 4 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3509, allocations: 11.92 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.351, allocations: 83.34 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.351, allocations: 0 / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002482/0.3512, allocations: 31.94 kB / 1.074 GB, free: 4.559 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.0002481/0.3515, allocations: 119.8 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.3518, allocations: 96 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3519, allocations: 0 / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.352, allocations: 55.83 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.3523, allocations: 10.84 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.3529, allocations: 174.1 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3532, allocations: 0.6783 MB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002217/0.3535, allocations: 27.94 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.3535, allocations: 15.42 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3535, allocations: 0 / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of Templates: time 0.004085/0.3576, allocations: 1.514 MB / 1.076 GB, free: 1.875 MB / 0.8262 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)