Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001151/0.001152, allocations: 192.7 kB / 16.13 MB, free: 6.656 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.015/3.015, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 69.89 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3609, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002586/0.3636, allocations: 1.309 MB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005284/0.3641, allocations: 245.5 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.225e-05/0.3641, allocations: 0 / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.3642, allocations: 0 / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/0.3642, allocations: 3.938 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.3645, allocations: 35.89 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.627e-05/0.3645, allocations: 19.88 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.3646, allocations: 7.984 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.3646, allocations: 11.98 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.281e-05/0.3647, allocations: 4 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.3647, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3648, allocations: 47.95 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.3648, allocations: 7.938 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.3649, allocations: 7.969 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.365, allocations: 39.91 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.365, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.365, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.365, allocations: 0 / 1.069 GB, free: 9.164 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000466/0.3655, allocations: 339.8 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3656, allocations: 12.03 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.3657, allocations: 8.922 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.3658, allocations: 160.4 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3659, allocations: 4.375 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.3659, allocations: 384 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.366, allocations: 54.23 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3661, allocations: 8.125 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3661, allocations: 3.938 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3661, allocations: 4 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.141e-05/0.3661, allocations: 12 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.3663, allocations: 153.7 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.3664, allocations: 42.62 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.3665, allocations: 20.98 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.3665, allocations: 4 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.3666, allocations: 38.55 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 2.525e-06/0.3666, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.002183/0.3687, allocations: 0.5018 MB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.3688, allocations: 55.41 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.605e-05/0.3688, allocations: 93.8 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.3689, allocations: 25.7 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.3689, allocations: 80.14 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.369, allocations: 27.64 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.369, allocations: 21.72 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3692, allocations: 322.8 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.736e-05/0.3692, allocations: 16 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.3693, allocations: 27.92 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.3694, allocations: 60.8 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3694, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001597/0.3695, allocations: 97.53 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3696, allocations: 11.92 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3696, allocations: 0 / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3696, allocations: 0 / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3698, allocations: 12 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3698, allocations: 4 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.3699, allocations: 4 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3699, allocations: 4 kB / 1.071 GB, free: 6.695 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 (9): * Single equations (assignments): 9 * 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.757e-05/0.37, allocations: 109.8 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.37, allocations: 3.938 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.3701, allocations: 19.95 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3701, allocations: 8.266 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3701, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3701, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.3703, allocations: 187.5 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3703, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.3704, allocations: 19.94 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3704, allocations: 7.938 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3704, allocations: 4 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3704, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3704, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.3707, allocations: 145 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.3708, allocations: 85.11 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3708, allocations: 4.031 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.3709, allocations: 4 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.3709, allocations: 7.984 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.371, allocations: 4 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.371, allocations: 75.28 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.272e-06/0.371, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001925/0.3712, allocations: 11.94 kB / 1.072 GB, free: 5.914 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 (8): * Single equations (assignments): 8 * 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.0001423/0.3713, allocations: 111.2 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.3715, allocations: 55.92 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3715, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.3716, allocations: 43.91 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.3718, allocations: 0.6562 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.3724, allocations: 188.5 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.3727, allocations: 0.6809 MB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.815e-05/0.3728, allocations: 15.98 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.3729, allocations: 7.438 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3729, allocations: 0 / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of Templates: time 0.00294/0.3758, allocations: 0.6726 MB / 1.074 GB, free: 4.125 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)