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.001341/0.001341, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001521/0.001521, allocations: 219.4 kB / 23 MB, free: 4.914 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.763/2.763, allocations: 476 MB / 0.7707 GB, free: 4.742 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.002143/0.002143, allocations: 65.91 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3122, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002987/0.3152, allocations: 1.314 MB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3165, allocations: 0.5901 MB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.3165, allocations: 0 / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.3165, allocations: 3.938 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.3166, allocations: 3.984 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.3171, allocations: 111.5 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.3172, allocations: 27.86 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.3172, allocations: 4 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.996e-05/0.3173, allocations: 11.98 kB / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.3173, allocations: 15.92 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3174, allocations: 4 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.3177, allocations: 131.8 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.3177, allocations: 4 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.3177, allocations: 11.92 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.318, allocations: 99.77 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.318, allocations: 0 / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.028e-06/0.318, allocations: 3.984 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.318, allocations: 0 / 1.286 GB, free: 9.625 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.0005513/0.3185, allocations: 294 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3186, allocations: 11.97 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004471/0.319, allocations: 28.91 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3191, allocations: 110.5 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3191, allocations: 8.312 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3192, allocations: 384 / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3194, allocations: 83.92 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.3194, allocations: 192 / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3194, allocations: 3.938 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3194, allocations: 0 / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.3195, allocations: 31.97 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.3197, allocations: 117.2 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.3201, allocations: 70.47 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.501e-05/0.3201, allocations: 24.94 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3202, allocations: 4 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3202, allocations: 30.56 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3202, allocations: 0 / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003469/0.3237, allocations: 0.5007 MB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.3237, allocations: 55.34 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.3238, allocations: 101.8 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.3238, allocations: 25.7 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.3239, allocations: 80.14 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.3239, allocations: 27.78 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.324, allocations: 25.69 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3242, allocations: 314.8 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3243, allocations: 40.09 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3245, allocations: 35.97 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.3247, allocations: 85.02 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3248, allocations: 4 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003644/0.3251, allocations: 121.6 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3251, allocations: 7.938 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3251, allocations: 7.875 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3252, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.3254, allocations: 23.97 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3254, allocations: 7.922 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.3255, allocations: 8 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3255, allocations: 7.984 kB / 1.288 GB, free: 7.152 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 0.0001198/0.3257, allocations: 109.8 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.3257, allocations: 4 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.09e-05/0.3258, allocations: 16 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3258, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3258, allocations: 4 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3258, allocations: 0 / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.3259, allocations: 123.4 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3259, allocations: 0 / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.3262, allocations: 27.97 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3262, allocations: 3.984 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3262, allocations: 0 / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3262, allocations: 15.88 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3262, allocations: 0 / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.3268, allocations: 189 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.3268, allocations: 4.031 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.3268, allocations: 0 / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.327, allocations: 19.98 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.327, allocations: 0 / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.327, allocations: 7.984 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.3271, allocations: 79.28 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3271, allocations: 0 / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002458/0.3273, allocations: 27.94 kB / 1.289 GB, free: 6.473 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.0002312/0.3276, allocations: 131.2 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.3279, allocations: 83.94 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3279, allocations: 0 / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.3281, allocations: 51.95 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.3283, allocations: 17.8 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007068/0.329, allocations: 199.7 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.811e-05/0.3291, allocations: 63.34 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.3292, allocations: 19.41 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3292, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of Templates: time 0.003722/0.3329, allocations: 1.593 MB / 1.291 GB, free: 4.277 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.421044518239796] Failed to read output from testmodel.py, exit status != 0: 0.9501893213018775 0.356835942 0.035660271 Calling exit ...