Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.202/2.202, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.001359, allocations: 187.9 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.535/2.535, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001279/0.001278, allocations: 86.36 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006936/0.000694, allocations: 19.22 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2864, allocations: 106.3 MB / 0.8991 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007108/0.2872, allocations: 334.2 kB / 0.8994 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2887, allocations: 1.114 MB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.2887, allocations: 0 / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.2887, allocations: 3.938 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.289, allocations: 15.94 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.577e-06/0.289, allocations: 0 / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.806e-05/0.289, allocations: 4 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.2891, allocations: 3.984 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.458e-05/0.2891, allocations: 11.92 kB / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.504e-05/0.2891, allocations: 0 / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.223e-06/0.2892, allocations: 0 / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.2893, allocations: 15.98 kB / 0.9005 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-06/0.2893, allocations: 3.938 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.277e-05/0.2894, allocations: 25.7 kB / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.83e-05/0.2894, allocations: 11.98 kB / 0.9006 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2895, allocations: 7.984 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2895, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2895, allocations: 4 kB / 0.9006 GB, free: 63.84 MB / 0.6042 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.0002014/0.2897, allocations: 307.6 kB / 0.9009 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2897, allocations: 12.09 kB / 0.9009 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.2898, allocations: 4.844 kB / 0.9009 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.117e-05/0.2899, allocations: 160.4 kB / 0.901 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2899, allocations: 4.359 kB / 0.901 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.2899, allocations: 384 / 0.901 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.29, allocations: 42.02 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2901, allocations: 7.938 kB / 0.9011 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2901, allocations: 3.938 kB / 0.9011 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2901, allocations: 0 / 0.9011 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.22e-05/0.2901, allocations: 7.984 kB / 0.9011 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.2903, allocations: 149.7 kB / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.2905, allocations: 30.61 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.2905, allocations: 12.86 kB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.2907, allocations: 85.19 kB / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.2907, allocations: 38.44 kB / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.2908, allocations: 0 / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.007886/0.2986, allocations: 0.5638 MB / 0.9019 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2987, allocations: 55.41 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.521e-05/0.2988, allocations: 97.8 kB / 0.9021 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.2988, allocations: 25.7 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.366e-05/0.2988, allocations: 84.14 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.2989, allocations: 19.92 kB / 0.9022 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.2989, allocations: 0 / 0.9022 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.661e-05/0.299, allocations: 318.8 kB / 0.9025 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.3, allocations: 79.95 kB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.3011, allocations: 106.6 kB / 0.9027 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.3022, allocations: 79.95 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3022, allocations: 4 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002181/0.3044, allocations: 221.5 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.3044, allocations: 4 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3044, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3045, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.3052, allocations: 55.94 kB / 0.903 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3052, allocations: 0 / 0.903 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006041/0.3059, allocations: 44.39 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3059, allocations: 4 kB / 0.9031 GB, free: 61.01 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.289e-05/0.306, allocations: 109.8 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.306, allocations: 3.938 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.3084, allocations: 237.1 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3084, allocations: 3.984 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3084, allocations: 0 / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3084, allocations: 0 / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.3109, allocations: 454.4 kB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3109, allocations: 0 / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006653/0.3116, allocations: 51.97 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.3116, allocations: 4 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.3116, allocations: 3.984 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3116, allocations: 4 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3116, allocations: 3.938 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.3139, allocations: 307.2 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.3139, allocations: 81.09 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.314, allocations: 320 / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006285/0.3146, allocations: 39.98 kB / 0.9043 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.3147, allocations: 7.984 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3147, allocations: 7.938 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.097e-05/0.3147, allocations: 83.28 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3147, allocations: 0 / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000325/0.3151, allocations: 8 kB / 0.9044 GB, free: 59.52 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001788/0.3152, allocations: 99.25 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002183/0.3174, allocations: 183.8 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3175, allocations: 0 / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.3185, allocations: 92.14 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3188, allocations: 4 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3207, allocations: 218.6 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.3208, allocations: 0.677 MB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003805/0.3212, allocations: 32 kB / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.3213, allocations: 7.438 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of SimCode: time 1.162e-06/0.3213, allocations: 0 / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.003435/0.3248, allocations: 0.7951 MB / 0.9065 GB, free: 57.36 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)