Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001624/0.001624, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001784/0.001784, allocations: 211.6 kB / 23.04 MB, free: 4.867 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.22/3.22, allocations: 0.49 GB / 0.7959 GB, free: 35.35 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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_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_12_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.002087/0.002087, allocations: 61.25 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4269, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002816/0.4298, allocations: 1.31 MB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.431, allocations: 0.6037 MB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.431, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.431, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.4311, allocations: 7.938 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.4315, allocations: 107.5 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.882e-05/0.4316, allocations: 27.92 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.4316, allocations: 0 / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.668e-05/0.4317, allocations: 11.98 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.4318, allocations: 19.91 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.4318, allocations: 0 / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.432, allocations: 135.8 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.4321, allocations: 7.984 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.4321, allocations: 11.94 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.4323, allocations: 91.77 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4323, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4323, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4323, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 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.0005339/0.4329, allocations: 282 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4329, allocations: 12.03 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004633/0.4334, allocations: 28.89 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.4335, allocations: 106.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.4336, allocations: 4.375 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.4336, allocations: 8.375 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.4338, allocations: 87.84 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4338, allocations: 192 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.4338, allocations: 3.938 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.4338, allocations: 3.938 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.434, allocations: 27.97 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.4342, allocations: 113.2 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.4345, allocations: 74.5 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.55e-05/0.4346, allocations: 24.94 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.4346, allocations: 3.984 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.4346, allocations: 38.56 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4346, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.003224/0.4379, allocations: 0.4968 MB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.4379, allocations: 55.41 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.438, allocations: 93.84 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.438, allocations: 33.7 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.4381, allocations: 80.14 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.4381, allocations: 19.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.4382, allocations: 33.81 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4383, allocations: 310.8 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.4385, allocations: 35.97 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.4386, allocations: 47.89 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.4389, allocations: 80.81 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4389, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004031/0.4393, allocations: 121.8 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4393, allocations: 10.03 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4393, allocations: 3.938 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4393, allocations: 4 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.4395, allocations: 27.91 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4395, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.4397, allocations: 11.92 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.4397, allocations: 0 / 1.332 GB, free: 12.16 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 (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.000109/0.4398, allocations: 118.4 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.4398, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.23e-05/0.4399, allocations: 23.94 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4399, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4399, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4399, allocations: 64 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.4401, allocations: 131.4 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4401, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.4403, allocations: 27.97 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4403, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.4403, allocations: 3.984 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4403, allocations: 3.938 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4403, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.4409, allocations: 193 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-06/0.4409, allocations: 3.984 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.4409, allocations: 8.031 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.4411, allocations: 7.938 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.4411, allocations: 7.984 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.4411, allocations: 3.984 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.4412, allocations: 79.28 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4412, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002482/0.4414, allocations: 32.09 kB / 1.332 GB, free: 11.46 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 (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.0002328/0.4417, allocations: 131.1 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.442, allocations: 87.86 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.442, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.4422, allocations: 47.95 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.4425, allocations: 10.84 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.4431, allocations: 187.7 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.4432, allocations: 67.28 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/0.4433, allocations: 27.41 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4433, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of Templates: time 0.003551/0.4468, allocations: 1.593 MB / 1.334 GB, free: 9.273 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.701856304891407] Failed to read output from testmodel.py, exit status != 0: 0.4558229011017829 0.47009769500000004 0.034736429 Calling exit ...