Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001237/0.001237, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 57.59 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4051, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003089/0.4082, allocations: 1.343 MB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.4096, allocations: 0.6543 MB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.4096, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.4097, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.4097, allocations: 15.91 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.4102, allocations: 83.64 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.344e-05/0.4103, allocations: 27.91 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.4104, allocations: 8 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.4104, allocations: 4 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.4105, allocations: 15.92 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.4105, allocations: 4 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.4109, allocations: 151.7 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.4109, allocations: 0 / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.4109, allocations: 19.92 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.4112, allocations: 99.97 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4112, allocations: 4 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4112, allocations: 0 / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.4112, allocations: 0 / 1.07 GB, free: 8.457 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.0006327/0.4119, allocations: 355.5 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4119, allocations: 12.03 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004803/0.4124, allocations: 28.81 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.4126, allocations: 164.4 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4126, allocations: 384 / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.4126, allocations: 8.375 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.4128, allocations: 58.22 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.4129, allocations: 192 / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.4129, allocations: 3.938 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4129, allocations: 0 / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.413, allocations: 35.89 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.4133, allocations: 161.5 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.4136, allocations: 70.58 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.4137, allocations: 20.94 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.4138, allocations: 7.984 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.4138, allocations: 38.56 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4138, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.003796/0.4176, allocations: 0.5797 MB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.4177, allocations: 51.41 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.4178, allocations: 93.84 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.4178, allocations: 33.7 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.4178, allocations: 80.14 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.4179, allocations: 15.7 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.418, allocations: 29.69 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4181, allocations: 318.9 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.4183, allocations: 39.97 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.4184, allocations: 35.97 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.4187, allocations: 84.81 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4187, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003797/0.4191, allocations: 117.6 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4191, allocations: 7.938 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4191, allocations: 4 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4192, allocations: 0 / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.4194, allocations: 28.03 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4194, allocations: 4 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.4196, allocations: 11.98 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.4196, allocations: 0 / 1.072 GB, free: 5.723 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 0.0001069/0.4197, allocations: 117.8 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.4198, allocations: 7.844 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/0.4199, allocations: 15.91 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4199, allocations: 4 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4199, allocations: 0 / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4199, allocations: 0 / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.4201, allocations: 187.5 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4201, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.4203, allocations: 27.91 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.4203, allocations: 7.938 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.4204, allocations: 11.92 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4204, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4204, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.421, allocations: 185 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.4211, allocations: 85.08 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.4211, allocations: 3.984 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.4213, allocations: 8 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.4214, allocations: 3.984 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.4214, allocations: 4.062 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.218e-05/0.4214, allocations: 79.28 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.024e-06/0.4214, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002875/0.4217, allocations: 43.86 kB / 1.073 GB, free: 4.844 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.0002696/0.422, allocations: 127.2 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.4224, allocations: 88.02 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4224, allocations: 0 / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.4226, allocations: 51.89 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.4228, allocations: 4.328 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.4237, allocations: 179.9 kB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.4242, allocations: 0.677 MB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002541/0.4244, allocations: 35.91 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.4245, allocations: 15.42 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4245, allocations: 0 / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of Templates: time 0.005222/0.4298, allocations: 1.459 MB / 1.076 GB, free: 2.203 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)