Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001434, allocations: 189 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8464/0.8464, allocations: 82.92 MB / 99.42 MB, free: 3.199 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 325.4 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 94.86 kB / 393.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000451/0.0004512, allocations: 12 kB / 471.6 MB, free: 66.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09048, allocations: 67.44 MB / 0.5264 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001533/0.09206, allocations: 0.982 MB / 0.5273 GB, free: 14.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.09325, allocations: 0.5792 MB / 0.5279 GB, free: 13.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.632e-05/0.09329, allocations: 4 kB / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.09331, allocations: 0 / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.09337, allocations: 7.984 kB / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.09382, allocations: 95.7 kB / 0.528 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.229e-05/0.09389, allocations: 19.92 kB / 0.528 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.09393, allocations: 0 / 0.528 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.09398, allocations: 11.97 kB / 0.528 GB, free: 13.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.09406, allocations: 11.98 kB / 0.528 GB, free: 13.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.09409, allocations: 8 kB / 0.528 GB, free: 13.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.09445, allocations: 155.7 kB / 0.5282 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.465e-06/0.09448, allocations: 0 / 0.5282 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.09453, allocations: 37.64 kB / 0.5282 GB, free: 13.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.09472, allocations: 64.14 kB / 0.5283 GB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.841e-06/0.09474, allocations: 0 / 0.5283 GB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.915e-06/0.09475, allocations: 0 / 0.5283 GB, free: 13.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.613e-06/0.09476, allocations: 0 / 0.5283 GB, free: 13.05 MB / 378.7 MB 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.0004952/0.09526, allocations: 355.2 kB / 0.5286 GB, free: 12.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.09532, allocations: 11.97 kB / 0.5286 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/0.09578, allocations: 27.97 kB / 0.5287 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.09595, allocations: 163.1 kB / 0.5288 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.09598, allocations: 4 kB / 0.5288 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.09601, allocations: 4 kB / 0.5288 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.09622, allocations: 53.66 kB / 0.5289 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.09625, allocations: 4 kB / 0.5289 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.09627, allocations: 7.953 kB / 0.5289 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-06/0.09629, allocations: 0 / 0.5289 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.09646, allocations: 27.91 kB / 0.5289 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.0967, allocations: 165.7 kB / 0.5291 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.09708, allocations: 66.58 kB / 0.5291 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.09712, allocations: 96 / 0.5291 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.09717, allocations: 46.48 kB / 0.5292 GB, free: 11.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.711e-06/0.09718, allocations: 0 / 0.5292 GB, free: 11.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.003941/0.1011, allocations: 0.572 MB / 0.5297 GB, free: 11.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.1012, allocations: 51.41 kB / 0.5298 GB, free: 11.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/0.1013, allocations: 93.86 kB / 0.5299 GB, free: 11.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.1014, allocations: 29.83 kB / 0.5299 GB, free: 11.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.1014, allocations: 88.12 kB / 0.53 GB, free: 11.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.1015, allocations: 15.72 kB / 0.53 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.1015, allocations: 4 kB / 0.53 GB, free: 11.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1017, allocations: 310.8 kB / 0.5303 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.1019, allocations: 35.97 kB / 0.5303 GB, free: 10.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.1021, allocations: 47.95 kB / 0.5304 GB, free: 10.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.1022, allocations: 32.14 kB / 0.5304 GB, free: 10.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-06/0.1023, allocations: 0 / 0.5304 GB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000487/0.1028, allocations: 133.4 kB / 0.5305 GB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1028, allocations: 8 kB / 0.5306 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.161e-06/0.1028, allocations: 4 kB / 0.5306 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1028, allocations: 3.938 kB / 0.5306 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.1031, allocations: 23.92 kB / 0.5306 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.298e-06/0.1031, allocations: 0 / 0.5306 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.1033, allocations: 11.98 kB / 0.5306 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.1034, allocations: 0 / 0.5306 GB, free: 10.43 MB / 378.7 MB 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 0.000127/0.1035, allocations: 121.8 kB / 0.5307 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1035, allocations: 0 / 0.5307 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.458e-05/0.1036, allocations: 7.969 kB / 0.5307 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-06/0.1037, allocations: 4 kB / 0.5307 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.309e-06/0.1037, allocations: 4.281 kB / 0.5307 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.624e-06/0.1037, allocations: 0 / 0.5307 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1039, allocations: 183.7 kB / 0.5309 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-06/0.1039, allocations: 0 / 0.5309 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.1042, allocations: 23.97 kB / 0.5309 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.1043, allocations: 7.984 kB / 0.5309 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.1043, allocations: 7.922 kB / 0.5309 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.363e-06/0.1043, allocations: 0 / 0.5309 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.876e-06/0.1043, allocations: 7.891 kB / 0.5309 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007026/0.105, allocations: 185 kB / 0.5311 GB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1051, allocations: 85.17 kB / 0.5312 GB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.1051, allocations: 4 kB / 0.5312 GB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.1054, allocations: 16.05 kB / 0.5312 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.1054, allocations: 3.984 kB / 0.5312 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.1055, allocations: 7.953 kB / 0.5312 GB, free: 9.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.221e-05/0.1055, allocations: 79.28 kB / 0.5313 GB, free: 9.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-07/0.1055, allocations: 0 / 0.5313 GB, free: 9.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.1059, allocations: 35.92 kB / 0.5313 GB, free: 9.566 MB / 378.7 MB 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.0002595/0.1062, allocations: 131.2 kB / 0.5315 GB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004114/0.1066, allocations: 83.92 kB / 0.5316 GB, free: 9.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.215e-06/0.1066, allocations: 4 kB / 0.5316 GB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.1068, allocations: 43.97 kB / 0.5316 GB, free: 9.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.107, allocations: 7.984 kB / 0.5316 GB, free: 9.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.1078, allocations: 167.4 kB / 0.5318 GB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.1082, allocations: 0.6809 MB / 0.5324 GB, free: 8.395 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003804/0.1086, allocations: 28.17 kB / 0.5325 GB, free: 8.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-05/0.1087, allocations: 23.41 kB / 0.5325 GB, free: 8.344 MB / 378.7 MB Notification: Performance of SimCode: time 1.577e-06/0.1087, allocations: 4 kB / 0.5325 GB, free: 8.34 MB / 378.7 MB Notification: Performance of Templates: time 0.005203/0.1139, allocations: 1.425 MB / 0.5339 GB, free: 6.949 MB / 378.7 MB