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.001081/0.001081, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001214/0.001215, allocations: 192 kB / 16.25 MB, free: 6.625 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 65.22 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3656, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002662/0.3683, allocations: 1.317 MB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005089/0.3689, allocations: 225.5 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.62e-05/0.3689, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.369, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.369, allocations: 3.938 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.3693, allocations: 43.81 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.319e-05/0.3694, allocations: 19.98 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.3694, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.3695, allocations: 8 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.3695, allocations: 11.92 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.3695, allocations: 11.88 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.3697, allocations: 43.95 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.3697, allocations: 7.984 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.3697, allocations: 7.984 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.3699, allocations: 35.89 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.3699, allocations: 4 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3699, allocations: 0 / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3699, allocations: 4 kB / 1.069 GB, free: 9.059 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.0004122/0.3704, allocations: 339.8 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3704, allocations: 8.031 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.3706, allocations: 12.92 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/0.3707, allocations: 160.4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3707, allocations: 384 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3707, allocations: 4.375 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3709, allocations: 50.25 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.3709, allocations: 192 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3709, allocations: 3.938 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3709, allocations: 3.984 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.196e-05/0.371, allocations: 15.94 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.3711, allocations: 153.7 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.3712, allocations: 42.62 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.3713, allocations: 24.97 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.3713, allocations: 8 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3713, allocations: 30.56 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3713, allocations: 0 / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.00221/0.3736, allocations: 0.5018 MB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3736, allocations: 51.41 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.602e-05/0.3737, allocations: 93.8 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3737, allocations: 25.7 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.3737, allocations: 80.14 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.3738, allocations: 27.64 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.3738, allocations: 25.72 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3739, allocations: 314.8 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.374, allocations: 23.98 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.374, allocations: 23.98 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.3741, allocations: 64.91 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3742, allocations: 448 / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001514/0.3743, allocations: 93.59 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3743, allocations: 9.344 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3743, allocations: 0 / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3744, allocations: 4 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.3745, allocations: 27.92 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3745, allocations: 0 / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.3746, allocations: 0 / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3746, allocations: 8 kB / 1.072 GB, free: 6.59 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 7.875e-05/0.3747, allocations: 105.8 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.3747, allocations: 7.938 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.3748, allocations: 15.97 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3748, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3748, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3748, allocations: 7.984 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.375, allocations: 171.2 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.375, allocations: 4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.3751, allocations: 15.98 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3751, allocations: 3.938 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3752, allocations: 4 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3752, allocations: 3.938 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3752, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.3755, allocations: 149 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.3755, allocations: 85.08 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.3755, allocations: 3.984 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.3757, allocations: 8.031 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.3757, allocations: 7.938 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.3757, allocations: 4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.3758, allocations: 75.28 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3758, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002014/0.376, allocations: 12 kB / 1.072 GB, free: 5.82 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.0001213/0.3761, allocations: 115.2 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.3763, allocations: 51.98 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3763, allocations: 0 / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.396e-05/0.3763, allocations: 39.92 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.3766, allocations: 4.312 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.3771, allocations: 194.7 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.3774, allocations: 0.6807 MB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.191e-05/0.3775, allocations: 15.92 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.3775, allocations: 11.44 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3775, allocations: 0 / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of Templates: time 0.002857/0.3804, allocations: 0.7109 MB / 1.074 GB, free: 3.992 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)