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.0008136/0.0008136, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006408/0.006408, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 9.688 kB / 0.9158 GB, free: 32.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3847, allocations: 162.2 MB / 1.074 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001708/0.3865, allocations: 1.012 MB / 1.075 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3877, allocations: 0.6389 MB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.3877, allocations: 0 / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.3877, allocations: 3.938 kB / 1.076 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.3878, allocations: 7.984 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.3882, allocations: 95.56 kB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.334e-05/0.3883, allocations: 23.92 kB / 1.076 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.3883, allocations: 3.984 kB / 1.076 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.3884, allocations: 12 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.3884, allocations: 15.92 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.3885, allocations: 0 / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.3888, allocations: 151.7 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.3888, allocations: 4 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.3888, allocations: 41.62 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.389, allocations: 100 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.389, allocations: 0 / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.984e-06/0.389, allocations: 0 / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.389, allocations: 0 / 1.076 GB, free: 5.355 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.000487/0.3895, allocations: 351.5 kB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3896, allocations: 12.03 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004171/0.39, allocations: 28.89 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3902, allocations: 164.3 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3902, allocations: 4.375 kB / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.3902, allocations: 4.375 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.3904, allocations: 50.22 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3905, allocations: 8.172 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.3905, allocations: 7.938 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3905, allocations: 3.938 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.3906, allocations: 23.98 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.391, allocations: 169.5 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.3913, allocations: 66.58 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.3914, allocations: 24.94 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.3915, allocations: 4 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3915, allocations: 34.56 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3915, allocations: 7.875 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.003566/0.3951, allocations: 0.584 MB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.3952, allocations: 55.41 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.3952, allocations: 89.86 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3953, allocations: 25.7 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.3953, allocations: 88.14 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.3954, allocations: 15.7 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.3954, allocations: 17.72 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.3956, allocations: 311 kB / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.3958, allocations: 43.97 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.3959, allocations: 31.97 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.3962, allocations: 84.81 kB / 1.078 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3962, allocations: 0 / 1.078 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003559/0.3966, allocations: 121.6 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3966, allocations: 7.938 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3966, allocations: 0 / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3966, allocations: 4.047 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.3969, allocations: 31.97 kB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3969, allocations: 3.938 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.397, allocations: 7.984 kB / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.397, allocations: 7.984 kB / 1.079 GB, free: 2.625 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.0001239/0.3972, allocations: 109.8 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.3972, allocations: 7.938 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.3973, allocations: 11.97 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3973, allocations: 3.938 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3973, allocations: 4 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3973, allocations: 3.938 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.3975, allocations: 191.4 kB / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3975, allocations: 4 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.3978, allocations: 23.97 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3978, allocations: 3.938 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.3978, allocations: 7.984 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3978, allocations: 0 / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3978, allocations: 0 / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.3984, allocations: 189.2 kB / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.3985, allocations: 81.08 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3985, allocations: 4 kB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.3987, allocations: 11.98 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.3987, allocations: 3.938 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3988, allocations: 16.05 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.55e-05/0.3988, allocations: 75.28 kB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3988, allocations: 0 / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002882/0.3991, allocations: 31.94 kB / 1.079 GB, free: 1.754 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.0002984/0.3994, allocations: 123.2 kB / 1.079 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003958/0.3998, allocations: 96 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3998, allocations: 0 / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.4, allocations: 47.89 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.4003, allocations: 10.67 kB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007843/0.4011, allocations: 182.8 kB / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.4015, allocations: 0.6809 MB / 1.08 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.4017, allocations: 35.86 kB / 1.08 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.4018, allocations: 19.41 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.4018, allocations: 0 / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of Templates: time 0.004383/0.4062, allocations: 1.449 MB / 1.082 GB, free: 15.1 MB / 0.8419 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)