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.002433/0.002433, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.002786/0.002786, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.609/1.609, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 3.246/3.246, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 176] 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.282e-06/1.282e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.651e-05, allocations: 10.22 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001596/0.001623, allocations: 0.595 MB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.003287, allocations: 1.136 MB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.003318, allocations: 0 / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.003333, allocations: 0 / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.003549, allocations: 23.86 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.516e-06/0.003552, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.751e-05/0.0036, allocations: 11.92 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.003642, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 1.995e-05/0.003662, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.263e-05/0.003684, allocations: 4 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.003692, allocations: 4 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.003787, allocations: 15.97 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.0038, allocations: 7.938 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.398e-06/0.00381, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.117e-05/0.003891, allocations: 15.92 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003893, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003893, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003896, allocations: 3.938 kB / 1.003 GB, free: 11.16 MB / 0.9636 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.0003748/0.004271, allocations: 238.4 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.004312, allocations: 13.34 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.00454, allocations: 12.91 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.638e-05/0.004636, allocations: 109.8 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.004648, allocations: 384 / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.004666, allocations: 384 / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.00477, allocations: 42.25 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.004782, allocations: 192 / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.00479, allocations: 384 / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.004797, allocations: 3.938 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.404e-05/0.004841, allocations: 7.984 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.00498, allocations: 101.3 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.005161, allocations: 38.48 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.005188, allocations: 12.86 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.005206, allocations: 4 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.005231, allocations: 30.56 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.005232, allocations: 0 / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.004228/0.00946, allocations: 0.5523 MB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.009513, allocations: 59.39 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.009568, allocations: 89.86 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.009594, allocations: 25.7 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.009635, allocations: 80.14 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.009676, allocations: 15.84 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.009733, allocations: 21.72 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.009895, allocations: 314.8 kB / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/0.01055, allocations: 83.95 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006744/0.01123, allocations: 106.6 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.01254, allocations: 190.4 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01254, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001383/0.01392, allocations: 217.6 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.01395, allocations: 8 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.01396, allocations: 3.984 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.01398, allocations: 0 / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.01444, allocations: 59.88 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.01445, allocations: 3.984 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.01483, allocations: 43.97 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.01485, allocations: 4 kB / 1.005 GB, free: 8.516 MB / 0.9636 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 0.0001149/0.01496, allocations: 109.8 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.01498, allocations: 3.953 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/0.01504, allocations: 11.66 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01504, allocations: 0 / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.01505, allocations: 3.938 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.01505, allocations: 0 / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.01667, allocations: 402.1 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01668, allocations: 0 / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.01711, allocations: 51.97 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.01711, allocations: 3.938 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.01713, allocations: 7.984 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.01713, allocations: 7.938 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01714, allocations: 0 / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.01853, allocations: 307.6 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.01854, allocations: 4 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.01856, allocations: 3.938 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.01897, allocations: 35.98 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.01898, allocations: 7.984 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.019, allocations: 4 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.01904, allocations: 75.28 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01904, allocations: 0 / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002446/0.01928, allocations: 12 kB / 1.006 GB, free: 7.418 MB / 0.9636 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 0.0001375/0.01942, allocations: 95.25 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.02079, allocations: 183.9 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.0208, allocations: 0 / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.02146, allocations: 84.08 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.02168, allocations: 8 kB / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.02297, allocations: 216.8 kB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.916e-05/0.02304, allocations: 59.34 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002042/0.02325, allocations: 32 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.02332, allocations: 12.48 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of SimCode: time 8.21e-07/0.02332, allocations: 11.94 kB / 1.007 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of Templates: time 0.003596/0.02692, allocations: 0.7811 MB / 1.008 GB, free: 5.898 MB / 0.9636 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.838031074032187]