Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0009489/0.0009489, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009205/0.0009205, allocations: 173.7 kB / 25.18 MB, free: 8.883 MB / 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.9971/0.9971, allocations: 177.1 MB / 205.6 MB, free: 5.02 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.838/1.838, allocations: 389.6 MB / 0.6364 GB, free: 12.21 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.7756 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/2.013e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001762/0.001782, allocations: 0.6691 MB / 0.7762 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.003468, allocations: 1.166 MB / 0.7774 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.003499, allocations: 0 / 0.7774 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.003517, allocations: 0 / 0.7774 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.003774, allocations: 24.78 kB / 0.7774 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.286e-06/0.003777, allocations: 0 / 0.7774 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.691e-05/0.003824, allocations: 8.188 kB / 0.7774 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.003874, allocations: 0 / 0.7774 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.003907, allocations: 5.516 kB / 0.7774 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.00394, allocations: 4.766 kB / 0.7774 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.00395, allocations: 0 / 0.7774 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.004084, allocations: 16.92 kB / 0.7774 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.004099, allocations: 6.281 kB / 0.7774 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.484e-05/0.004114, allocations: 0.6562 kB / 0.7774 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.507e-05/0.004199, allocations: 17.02 kB / 0.7775 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004201, allocations: 0 / 0.7775 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004202, allocations: 1.656 kB / 0.7775 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004205, allocations: 0 / 0.7775 GB, free: 4.008 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.0002336/0.004439, allocations: 212.7 kB / 0.7777 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.004482, allocations: 14.44 kB / 0.7777 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.00471, allocations: 21.78 kB / 0.7777 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.029e-05/0.004791, allocations: 105.8 kB / 0.7778 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.004804, allocations: 4.375 kB / 0.7778 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.004824, allocations: 0.875 kB / 0.7778 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.972e-05/0.004904, allocations: 38.98 kB / 0.7778 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.004916, allocations: 4.125 kB / 0.7778 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.004923, allocations: 2.656 kB / 0.7778 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.00493, allocations: 3.938 kB / 0.7778 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.606e-05/0.004957, allocations: 7.984 kB / 0.7779 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.481e-05/0.005051, allocations: 65.7 kB / 0.7779 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.005187, allocations: 30.61 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.005202, allocations: 7.609 kB / 0.778 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.005216, allocations: 4 kB / 0.778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.005239, allocations: 30.56 kB / 0.778 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.005241, allocations: 0 / 0.778 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.001356/0.006596, allocations: 244.3 kB / 0.7782 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.006635, allocations: 55.41 kB / 0.7783 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.308e-05/0.006668, allocations: 94.39 kB / 0.7784 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.006684, allocations: 25.7 kB / 0.7784 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.00671, allocations: 85.08 kB / 0.7785 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.006751, allocations: 19.81 kB / 0.7785 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.006802, allocations: 18.25 kB / 0.7785 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.0069, allocations: 314.8 kB / 0.7788 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.006941, allocations: 10.89 kB / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-05/0.006995, allocations: 23.59 kB / 0.7788 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.988e-05/0.007094, allocations: 43.92 kB / 0.7789 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007095, allocations: 0 / 0.7789 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001275/0.007223, allocations: 57.41 kB / 0.7789 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.00724, allocations: 12.77 kB / 0.7789 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.007245, allocations: 0 / 0.7789 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.007255, allocations: 1.031 kB / 0.7789 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.007435, allocations: 29.58 kB / 0.779 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.007441, allocations: 4.75 kB / 0.779 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.007552, allocations: 30.67 kB / 0.779 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.007565, allocations: 0 / 0.779 GB, free: 2.297 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.055e-05/0.007656, allocations: 116.8 kB / 0.7791 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.007671, allocations: 0 / 0.7791 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.007714, allocations: 9.094 kB / 0.7791 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.00772, allocations: 9.766 kB / 0.7791 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.007723, allocations: 0.7656 kB / 0.7791 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.007728, allocations: 3.938 kB / 0.7791 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.008034, allocations: 197.7 kB / 0.7793 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.008036, allocations: 0 / 0.7793 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.008193, allocations: 29.92 kB / 0.7794 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.008197, allocations: 2.859 kB / 0.7794 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.008208, allocations: 3.938 kB / 0.7794 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.008212, allocations: 4.641 kB / 0.7794 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.008215, allocations: 3.938 kB / 0.7794 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.008367, allocations: 142.5 kB / 0.7795 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.008377, allocations: 11.94 kB / 0.7795 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.008393, allocations: 1.969 kB / 0.7795 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.008525, allocations: 21.17 kB / 0.7795 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.008541, allocations: 8.922 kB / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.008554, allocations: 8 kB / 0.7796 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.387e-06/0.008563, allocations: 10.81 kB / 0.7796 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.008563, allocations: 0 / 0.7796 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001802/0.008744, allocations: 8 kB / 0.7796 GB, free: 1.684 MB / 0.7292 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 (5): * Single equations (assignments): 5 * 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 9.039e-05/0.008834, allocations: 76.42 kB / 0.7797 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.008969, allocations: 32.5 kB / 0.7797 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.008974, allocations: 0.875 kB / 0.7797 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/0.009021, allocations: 18.45 kB / 0.7797 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.009158, allocations: 16.03 kB / 0.7797 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.009517, allocations: 153.4 kB / 0.7799 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.009567, allocations: 60.41 kB / 0.7799 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.009697, allocations: 55.36 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of SimCode: time 1.262e-06/0.009698, allocations: 0.8438 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of Templates: time 0.001759/0.01146, allocations: 1.08 MB / 0.781 GB, free: 180 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.655191069468856]