Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.831/1.831, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005546/0.0005546, allocations: 17 kB / 0.6736 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2606, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.000753/0.2615, allocations: 329.8 kB / 0.7874 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2628, allocations: 1.108 MB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.2629, allocations: 0 / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.2629, allocations: 0 / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.2632, allocations: 23.92 kB / 0.7885 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.2632, allocations: 0 / 0.7885 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.588e-05/0.2632, allocations: 0 / 0.7885 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.2633, allocations: 0 / 0.7885 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.773e-05/0.2633, allocations: 7.922 kB / 0.7885 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.2633, allocations: 7.984 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.2633, allocations: 0 / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.2634, allocations: 15.98 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.499e-06/0.2635, allocations: 0 / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.2635, allocations: 29.7 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.66e-05/0.2636, allocations: 7.984 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2636, allocations: 4 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2636, allocations: 0 / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2636, allocations: 0 / 0.7886 GB, free: 10.41 MB / 0.6075 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.0002899/0.2639, allocations: 315.4 kB / 0.7889 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2639, allocations: 8.031 kB / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.264, allocations: 0 / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2641, allocations: 171 kB / 0.7891 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.2641, allocations: 0 / 0.7891 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.2641, allocations: 0 / 0.7891 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.2643, allocations: 41.69 kB / 0.7891 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2643, allocations: 3.938 kB / 0.7891 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2643, allocations: 0 / 0.7891 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2643, allocations: 7.938 kB / 0.7891 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.2644, allocations: 3.984 kB / 0.7891 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.2645, allocations: 157.8 kB / 0.7893 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.2648, allocations: 38.55 kB / 0.7893 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.2649, allocations: 89.19 kB / 0.7894 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2649, allocations: 30.56 kB / 0.7894 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.265, allocations: 0 / 0.7894 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.004154/0.2691, allocations: 0.5676 MB / 0.79 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2692, allocations: 51.41 kB / 0.79 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.155e-05/0.2692, allocations: 93.86 kB / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.2692, allocations: 25.7 kB / 0.7902 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.2693, allocations: 80.14 kB / 0.7902 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.2693, allocations: 15.81 kB / 0.7902 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-06/0.2693, allocations: 0 / 0.7902 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2694, allocations: 318.8 kB / 0.7906 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.27, allocations: 83.94 kB / 0.7906 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.2706, allocations: 102.5 kB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.2712, allocations: 87.95 kB / 0.7908 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.2712, allocations: 0 / 0.7908 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001184/0.2724, allocations: 221.6 kB / 0.791 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2724, allocations: 4 kB / 0.791 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2724, allocations: 0 / 0.791 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2724, allocations: 0 / 0.791 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.2728, allocations: 52 kB / 0.7911 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2728, allocations: 0 / 0.7911 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.2732, allocations: 39.98 kB / 0.7911 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.2732, allocations: 3.984 kB / 0.7911 GB, free: 7.594 MB / 0.6075 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.499e-05/0.2733, allocations: 121.8 kB / 0.7912 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.2733, allocations: 3.906 kB / 0.7912 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.2746, allocations: 237 kB / 0.7915 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2746, allocations: 4.422 kB / 0.7915 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2746, allocations: 0 / 0.7915 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2746, allocations: 0 / 0.7915 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2761, allocations: 454.7 kB / 0.7919 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2761, allocations: 7.938 kB / 0.7919 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.2765, allocations: 47.97 kB / 0.792 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2765, allocations: 3.984 kB / 0.792 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.2765, allocations: 4 kB / 0.792 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2765, allocations: 0 / 0.792 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2765, allocations: 4 kB / 0.792 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.2777, allocations: 303.4 kB / 0.7923 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.2778, allocations: 81.11 kB / 0.7923 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.2778, allocations: 3.938 kB / 0.7923 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.2781, allocations: 39.97 kB / 0.7924 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.2782, allocations: 7.938 kB / 0.7924 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2782, allocations: 0 / 0.7924 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.617e-05/0.2782, allocations: 75.28 kB / 0.7925 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2782, allocations: 0 / 0.7925 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002474/0.2785, allocations: 23.98 kB / 0.7925 GB, free: 6.09 MB / 0.6075 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.0001879/0.2787, allocations: 111.2 kB / 0.7926 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.2798, allocations: 172 kB / 0.7928 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2798, allocations: 4 kB / 0.7928 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.2804, allocations: 96 kB / 0.7928 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.2806, allocations: 10.39 kB / 0.7929 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.2817, allocations: 214.7 kB / 0.7931 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.282, allocations: 0.6809 MB / 0.7937 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.2822, allocations: 24 kB / 0.7937 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.2823, allocations: 15.44 kB / 0.7938 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of SimCode: time 1.863e-06/0.2823, allocations: 0 / 0.7938 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of Templates: time 0.002852/0.2852, allocations: 0.7972 MB / 0.7945 GB, free: 3.926 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) Environment - environmentSimulation: