Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.178/5.178, allocations: 0.5623 GB / 0.5769 GB, free: 3.395 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002426/0.002426, allocations: 356.8 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.256/4.256, allocations: 410.7 MB / 1.112 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001784/0.001784, allocations: 180.9 kB / 1.225 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004946, allocations: 12 kB / 1.348 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5875/0.588, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001197/0.5892, allocations: 1.01 MB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009182/0.5902, allocations: 0.6051 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.549e-05/0.5902, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.5902, allocations: 1.438 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.381e-05/0.5903, allocations: 3.938 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.5907, allocations: 96.05 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.5907, allocations: 25.39 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.5908, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.214e-05/0.5908, allocations: 11.94 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.5909, allocations: 11.97 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.5909, allocations: 4.5 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002776/0.5912, allocations: 140.4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.5912, allocations: 7.984 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.5912, allocations: 30.95 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.5914, allocations: 69.97 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.355e-06/0.5914, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5914, allocations: 0.75 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.815e-06/0.5914, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 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.0003803/0.5918, allocations: 346.1 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5919, allocations: 15.62 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004452/0.5923, allocations: 28.77 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.013e-05/0.5924, allocations: 178.8 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.5925, allocations: 1.062 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.5925, allocations: 4 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.5927, allocations: 55.45 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.815e-06/0.5927, allocations: 0.6875 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.5927, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-06/0.5927, allocations: 0.9375 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.5929, allocations: 32.84 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.5931, allocations: 162.3 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.5934, allocations: 73.36 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.5936, allocations: 35 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.5936, allocations: 2.812 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.5936, allocations: 34.56 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.153e-06/0.5936, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.003701/0.5974, allocations: 0.5583 MB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.5974, allocations: 60.17 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.719e-05/0.5975, allocations: 98.45 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.5975, allocations: 30.27 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.5976, allocations: 81.39 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.5976, allocations: 23.66 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.5976, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.5977, allocations: 327.4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.5979, allocations: 33.12 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.598, allocations: 36.94 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.5982, allocations: 37.38 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-06/0.5982, allocations: 0.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004336/0.5987, allocations: 120.5 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5987, allocations: 8 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.441e-06/0.5987, allocations: 3.984 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5987, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.599, allocations: 26.2 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.92e-06/0.599, allocations: 5.969 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.5992, allocations: 8 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.5993, allocations: 3.984 kB / 1.465 GB, free: 279.7 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.057e-05/0.5993, allocations: 116 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.5994, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.956e-05/0.5995, allocations: 19.91 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5995, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.084e-06/0.5995, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-06/0.5995, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.5997, allocations: 196.9 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.693e-06/0.5997, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.6, allocations: 19.97 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.653e-06/0.6, allocations: 4.5 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.6, allocations: 4.484 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.16e-06/0.6001, allocations: 0.7812 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.21e-06/0.6001, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.6007, allocations: 197 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.6008, allocations: 81.14 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.6008, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.601, allocations: 13.83 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.6011, allocations: 5.344 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.6011, allocations: 13.05 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.669e-05/0.6011, allocations: 76.25 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.86e-07/0.6011, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003211/0.6015, allocations: 32 kB / 1.466 GB, free: 278.9 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002112/0.6017, allocations: 129.1 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.6021, allocations: 90.27 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.89e-06/0.6021, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.6023, allocations: 46.17 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.6026, allocations: 14.14 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.6033, allocations: 172.7 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.6034, allocations: 0.6864 MB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003839/0.6038, allocations: 28.28 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.121e-05/0.6039, allocations: 16.95 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.63e-06/0.6039, allocations: 3.938 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.004582/0.6085, allocations: 1.435 MB / 1.468 GB, free: 276.4 MB / 0.8542 GB