Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.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.0009949/0.0009949, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001019/0.001019, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9614/0.9614, allocations: 177.2 MB / 204.6 MB, free: 5.156 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.918/1.918, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.7752 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.88e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002175/0.002194, allocations: 1.517 MB / 0.7766 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.003071, allocations: 0.6064 MB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.003121, allocations: 4 kB / 0.7772 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.003147, allocations: 4.812 kB / 0.7772 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.003195, allocations: 6.281 kB / 0.7772 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.003455, allocations: 58.94 kB / 0.7773 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.003551, allocations: 31.42 kB / 0.7773 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.577e-05/0.003617, allocations: 7.984 kB / 0.7773 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003724, allocations: 33.94 kB / 0.7774 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.003765, allocations: 9.406 kB / 0.7774 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.003777, allocations: 0 / 0.7774 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.003879, allocations: 49.03 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.003892, allocations: 11.92 kB / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.003908, allocations: 5.094 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.004037, allocations: 75.73 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004039, allocations: 2.906 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.01e-07/0.004039, allocations: 0 / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.004042, allocations: 0 / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002651/0.004307, allocations: 252.8 kB / 0.7778 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 0.003037/0.007344, allocations: 13.34 kB / 0.7778 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006247/0.01359, allocations: 0.9838 MB / 0.7787 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.01377, allocations: 121.7 kB / 0.7789 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.01378, allocations: 4.375 kB / 0.7789 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.01381, allocations: 384 / 0.7789 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.01464, allocations: 336.4 kB / 0.7792 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.01465, allocations: 192 / 0.7792 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.01467, allocations: 384 / 0.7792 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.01468, allocations: 5.781 kB / 0.7792 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.01488, allocations: 64.16 kB / 0.7792 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004593/0.01947, allocations: 0.6036 MB / 0.7798 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/0.02028, allocations: 291.4 kB / 0.7801 GB, free: 480 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.02039, allocations: 44.91 kB / 0.7802 GB, free: 432 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.0204, allocations: 4 kB / 0.7802 GB, free: 428 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.02042, allocations: 30.56 kB / 0.7802 GB, free: 388 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.02042, allocations: 4 kB / 0.7802 GB, free: 384 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003985/0.02082, allocations: 125.6 kB / 0.7803 GB, free: 252 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.02085, allocations: 55.41 kB / 0.7804 GB, free: 184 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.02091, allocations: 114.7 kB / 0.7805 GB, free: 56 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.02094, allocations: 29.64 kB / 0.7805 GB, free: 20 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.02098, allocations: 88.12 kB / 0.7806 GB, free: 15.93 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.02102, allocations: 3.953 kB / 0.7806 GB, free: 15.93 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.0211, allocations: 25.69 kB / 0.7806 GB, free: 15.89 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.02118, allocations: 314.8 kB / 0.7809 GB, free: 15.58 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.02129, allocations: 32.02 kB / 0.7809 GB, free: 15.55 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.0214, allocations: 31.98 kB / 0.781 GB, free: 15.52 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.02156, allocations: 44.83 kB / 0.781 GB, free: 15.47 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.02156, allocations: 8.062 kB / 0.781 GB, free: 15.46 MB / 0.7449 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002465/0.0218, allocations: 85.59 kB / 0.7811 GB, free: 15.37 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.02182, allocations: 8 kB / 0.7811 GB, free: 15.36 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.02182, allocations: 0 / 0.7811 GB, free: 15.36 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.02183, allocations: 3.938 kB / 0.7811 GB, free: 15.36 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/0.02547, allocations: 191.8 kB / 0.7813 GB, free: 15.17 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.02547, allocations: 0 / 0.7813 GB, free: 15.17 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.02603, allocations: 187.8 kB / 0.7815 GB, free: 14.99 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.02605, allocations: 3.984 kB / 0.7815 GB, free: 14.98 MB / 0.7449 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 (2): * Single equations (assignments): 2 * 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.246e-05/0.02614, allocations: 117.8 kB / 0.7816 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.02619, allocations: 0 / 0.7816 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.02624, allocations: 11.62 kB / 0.7816 GB, free: 14.85 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.02624, allocations: 3.938 kB / 0.7816 GB, free: 14.85 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.02624, allocations: 0 / 0.7816 GB, free: 14.85 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.02625, allocations: 0 / 0.7816 GB, free: 14.85 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.02646, allocations: 125.8 kB / 0.7817 GB, free: 14.71 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.02646, allocations: 0 / 0.7817 GB, free: 14.71 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/0.02706, allocations: 195.8 kB / 0.7819 GB, free: 14.52 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.02706, allocations: 0 / 0.7819 GB, free: 14.52 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.02708, allocations: 3.984 kB / 0.7819 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.02708, allocations: 0 / 0.7819 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02708, allocations: 4 kB / 0.7819 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.02737, allocations: 191.4 kB / 0.7821 GB, free: 14.3 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.02738, allocations: 4 kB / 0.7821 GB, free: 14.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.02741, allocations: 3.984 kB / 0.7821 GB, free: 14.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/0.02798, allocations: 179.9 kB / 0.7823 GB, free: 14.12 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.02801, allocations: 7.938 kB / 0.7823 GB, free: 14.11 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.02803, allocations: 11.91 kB / 0.7823 GB, free: 14.1 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 1.684e-05/0.02805, allocations: 12.84 kB / 0.7823 GB, free: 14.09 MB / 0.7449 GB Notification: Performance of sort global known variables: time 7e-08/0.02805, allocations: 4 kB / 0.7823 GB, free: 14.08 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.00325/0.03129, allocations: 32 kB / 0.7824 GB, free: 14.05 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001021/0.0314, allocations: 80.42 kB / 0.7824 GB, free: 13.96 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.03166, allocations: 84.75 kB / 0.7825 GB, free: 13.88 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.03167, allocations: 4 kB / 0.7825 GB, free: 13.88 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.0318, allocations: 44.83 kB / 0.7826 GB, free: 13.83 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.03197, allocations: 20.09 kB / 0.7826 GB, free: 13.81 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.03242, allocations: 172.4 kB / 0.7827 GB, free: 13.61 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.307e-05/0.03245, allocations: 51.36 kB / 0.7828 GB, free: 13.54 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.03266, allocations: 39.98 kB / 0.7828 GB, free: 13.5 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.03286, allocations: 59.34 kB / 0.7829 GB, free: 13.45 MB / 0.7449 GB Notification: Performance of SimCode: time 4.91e-07/0.03287, allocations: 0 / 0.7829 GB, free: 13.45 MB / 0.7449 GB Notification: Performance of Templates: time 0.01106/0.04392, allocations: 2.814 MB / 0.7856 GB, free: 10.63 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.881628343835473]