Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.001338/0.001338, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001432/0.001432, allocations: 212.1 kB / 22.99 MB, free: 4.941 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.238/3.238, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [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.002048/0.002048, allocations: 68 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3962, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002638/0.3989, allocations: 1.276 MB / 1.328 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005626/0.3994, allocations: 219.3 kB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.3994, allocations: 0 / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.741e-05/0.3995, allocations: 3.938 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.3995, allocations: 0 / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.3998, allocations: 39.83 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.646e-05/0.3999, allocations: 23.91 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.4, allocations: 11.94 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.4, allocations: 11.92 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.4001, allocations: 4 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.4001, allocations: 0 / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.4002, allocations: 43.95 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.4002, allocations: 7.984 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.4002, allocations: 11.92 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.4004, allocations: 35.91 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4004, allocations: 4 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4004, allocations: 0 / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.4004, allocations: 0 / 1.328 GB, free: 196 kB / 1.014 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.0004439/0.4008, allocations: 254.3 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4009, allocations: 12.03 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.401, allocations: 12.88 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/0.4011, allocations: 114.5 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4011, allocations: 384 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.4011, allocations: 4.375 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.4013, allocations: 75.89 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4013, allocations: 4.125 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.4013, allocations: 11.92 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4013, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/0.4014, allocations: 12 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.4015, allocations: 109.3 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.4016, allocations: 42.62 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.4017, allocations: 20.97 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.4017, allocations: 3.938 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.4017, allocations: 34.56 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.4017, allocations: 4 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001989/0.4037, allocations: 424.9 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.4037, allocations: 51.41 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.651e-05/0.4038, allocations: 93.86 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4038, allocations: 29.7 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.4039, allocations: 88.12 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.4039, allocations: 19.81 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.404, allocations: 21.72 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4041, allocations: 314.8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.4041, allocations: 24 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.4042, allocations: 31.86 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.4043, allocations: 56.86 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.4043, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001471/0.4044, allocations: 93.56 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.4045, allocations: 12 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4045, allocations: 3.938 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4045, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.4046, allocations: 16 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.4046, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.4047, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4047, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 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 9.475e-05/0.4048, allocations: 114.4 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.4048, allocations: 3.984 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.4049, allocations: 15.84 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4049, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4049, allocations: 4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4049, allocations: 7.875 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.405, allocations: 119.1 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.405, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.4051, allocations: 19.98 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4051, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.4051, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4051, allocations: 4.375 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4051, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.4054, allocations: 145.3 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-06/0.4054, allocations: 4.062 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.4054, allocations: 11.97 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.4055, allocations: 15.86 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.4056, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.4056, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.626e-05/0.4056, allocations: 75.28 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4056, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001849/0.4058, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 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.0001355/0.4059, allocations: 113.4 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.4061, allocations: 59.91 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4061, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.4061, allocations: 27.98 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.4064, allocations: 11.94 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.4069, allocations: 200.5 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.455e-05/0.407, allocations: 67.2 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.4071, allocations: 11.44 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4071, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of Templates: time 0.002435/0.4095, allocations: 0.9092 MB / 1.332 GB, free: 11.96 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.24916826095432] Failed to read output from testmodel.py, exit status != 0: 0.4176237001083791 0.432432755 0.028690492 Calling exit ...