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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 216.9 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 69.52 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.351, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00246/0.3535, allocations: 1.313 MB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3546, allocations: 0.6522 MB / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.3546, allocations: 0 / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.3547, allocations: 0 / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.3547, allocations: 11.92 kB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.3552, allocations: 115.5 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.658e-05/0.3552, allocations: 23.92 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.3553, allocations: 0 / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.7e-05/0.3553, allocations: 15.98 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.3554, allocations: 11.92 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.3554, allocations: 0 / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.3557, allocations: 143.7 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.3557, allocations: 11.98 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.3557, allocations: 11.92 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.3559, allocations: 107.7 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.356, allocations: 3.984 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.356, allocations: 0 / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.356, allocations: 0 / 1.287 GB, free: 8.824 MB / 0.9825 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.0004904/0.3565, allocations: 286.1 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3565, allocations: 8.031 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.357, allocations: 32.91 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.3571, allocations: 110.5 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3571, allocations: 384 / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.3571, allocations: 4.312 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.3573, allocations: 58.22 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3573, allocations: 192 / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3573, allocations: 3.938 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3573, allocations: 4 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3575, allocations: 27.97 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.3577, allocations: 140.6 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.358, allocations: 66.52 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.599e-05/0.3581, allocations: 28.94 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3581, allocations: 3.984 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3581, allocations: 34.56 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3581, allocations: 0 / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003599/0.3617, allocations: 0.5087 MB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.3618, allocations: 51.41 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.3619, allocations: 97.84 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3619, allocations: 29.7 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.3619, allocations: 80.14 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.362, allocations: 27.78 kB / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.3621, allocations: 33.75 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3622, allocations: 314.8 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3623, allocations: 31.97 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3625, allocations: 43.91 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3627, allocations: 80.81 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3627, allocations: 4.062 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003484/0.3631, allocations: 117.6 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3631, allocations: 11.94 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3631, allocations: 4 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3631, allocations: 0 / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.3634, allocations: 23.97 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.3634, allocations: 3.938 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.3635, allocations: 7.984 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3635, allocations: 0 / 1.289 GB, free: 6.363 MB / 0.9825 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 9.322e-05/0.3636, allocations: 117.8 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.3637, allocations: 7.938 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.3637, allocations: 12.06 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3637, allocations: 0 / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3637, allocations: 0 / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3637, allocations: 0 / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3639, allocations: 162.8 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3639, allocations: 0 / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.3641, allocations: 27.97 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3641, allocations: 3.938 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.3642, allocations: 3.984 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3642, allocations: 0 / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3642, allocations: 7.938 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.3647, allocations: 189 kB / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.3647, allocations: 3.938 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.3648, allocations: 4.031 kB / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3649, allocations: 12.05 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.365, allocations: 7.984 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.365, allocations: 4 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.87e-05/0.365, allocations: 83.27 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.365, allocations: 3.938 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000246/0.3653, allocations: 27.94 kB / 1.29 GB, free: 5.625 MB / 0.9825 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.0002436/0.3655, allocations: 127.2 kB / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.3659, allocations: 87.86 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3659, allocations: 0 / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.366, allocations: 48.02 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.3663, allocations: 8 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/0.367, allocations: 199.7 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.3673, allocations: 0.6807 MB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.3674, allocations: 15.42 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3674, allocations: 0 / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of Templates: time 0.003438/0.3708, allocations: 1.595 MB / 1.293 GB, free: 2.82 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (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) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.346505012974376] Failed to read output from testmodel.py, exit status != 0: 0.8898066590190865 0.39280535400000005 0.03394213 Calling exit ...