Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_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.001577/0.001577, allocations: 104.6 kB / 15.98 MB, free: 6.355 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.001851/0.001851, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.792/2.792, allocations: 469.8 MB / 0.7427 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 62.64 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3638, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002542/0.3664, allocations: 1.351 MB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3675, allocations: 0.6388 MB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.3676, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.3676, allocations: 7.875 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.3677, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.3681, allocations: 99.62 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.006e-05/0.3682, allocations: 27.92 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.3682, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.379e-05/0.3683, allocations: 7.984 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.3683, allocations: 15.92 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.3684, allocations: 4 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.3686, allocations: 151.7 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.3687, allocations: 4 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.3687, allocations: 11.94 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.3688, allocations: 72.12 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3689, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3689, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3689, allocations: 4 kB / 1.066 GB, free: 12.7 MB / 0.8419 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.0005115/0.3694, allocations: 347.5 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3694, allocations: 12.03 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004402/0.3699, allocations: 28.89 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.37, allocations: 164.3 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3701, allocations: 8.312 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.3701, allocations: 8.281 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.3703, allocations: 66.2 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3703, allocations: 192 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3703, allocations: 7.922 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3703, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3705, allocations: 23.98 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.3707, allocations: 165.7 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.371, allocations: 66.52 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.65e-05/0.3711, allocations: 24.94 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3711, allocations: 8 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.3712, allocations: 34.56 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3712, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.003707/0.3749, allocations: 0.5797 MB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.375, allocations: 55.41 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.375, allocations: 93.8 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3751, allocations: 33.7 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.3751, allocations: 84.12 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.3752, allocations: 15.7 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.3752, allocations: 25.7 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3754, allocations: 323 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3755, allocations: 35.97 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3757, allocations: 35.97 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.3759, allocations: 84.81 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3759, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003602/0.3763, allocations: 121.8 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3763, allocations: 7.938 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3764, allocations: 0 / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3764, allocations: 8 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.3766, allocations: 23.91 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3766, allocations: 0 / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3768, allocations: 4 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.3768, allocations: 7.984 kB / 1.069 GB, free: 9.961 MB / 0.8419 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.0001039/0.3769, allocations: 110.5 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.377, allocations: 7.938 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.765e-05/0.377, allocations: 15.91 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.377, allocations: 4 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3771, allocations: 0 / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3771, allocations: 3.984 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.3772, allocations: 179.7 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3773, allocations: 3.984 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.3775, allocations: 23.97 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3775, allocations: 3.938 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.3775, allocations: 8 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3775, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.3776, allocations: 3.938 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.3781, allocations: 193.2 kB / 1.069 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.3782, allocations: 85.08 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.3782, allocations: 0 / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.3784, allocations: 19.91 kB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.3784, allocations: 4.188 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.3785, allocations: 11.98 kB / 1.07 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.3785, allocations: 75.28 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3785, allocations: 0 / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002503/0.3788, allocations: 35.94 kB / 1.07 GB, free: 9.086 MB / 0.8419 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.0002347/0.379, allocations: 129.6 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.3794, allocations: 87.97 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3794, allocations: 0 / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.3795, allocations: 47.95 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.3798, allocations: 7.984 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006849/0.3805, allocations: 199.8 kB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.3808, allocations: 0.6807 MB / 1.071 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.212e-05/0.3809, allocations: 19.41 kB / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3809, allocations: 4 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of Templates: time 0.003485/0.3844, allocations: 1.568 MB / 1.072 GB, free: 6.305 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)