Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.664/1.664, allocations: 288.3 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 181.5 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 92.03 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004065, allocations: 14.5 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2519, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7286/0.9806, allocations: 137.9 MB / 1.114 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.9809, allocations: 80.62 kB / 1.114 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002676/0.9836, allocations: 0.8474 MB / 1.115 GB, free: 32.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.835e-06/0.9836, allocations: 0 / 1.115 GB, free: 32.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.9836, allocations: 0 / 1.115 GB, free: 32.01 MB / 0.698 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.0002392/0.9839, allocations: 312.5 kB / 1.115 GB, free: 31.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9839, allocations: 15.52 kB / 1.115 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.984, allocations: 0 / 1.115 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.96e-05/0.9841, allocations: 164.6 kB / 1.115 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.9841, allocations: 7.984 kB / 1.115 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.9841, allocations: 3.812 kB / 1.116 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.011e-05/0.9842, allocations: 42.67 kB / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9842, allocations: 0 / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.9842, allocations: 2.719 kB / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9843, allocations: 0 / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.73e-05/0.9843, allocations: 7.812 kB / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.9844, allocations: 156.1 kB / 1.116 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.9846, allocations: 36.44 kB / 1.116 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.9847, allocations: 87.55 kB / 1.116 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.9847, allocations: 31.44 kB / 1.116 GB, free: 31.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.9847, allocations: 0 / 1.116 GB, free: 31.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.003959/0.9887, allocations: 0.5721 MB / 1.116 GB, free: 30.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.9888, allocations: 51.41 kB / 1.116 GB, free: 30.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.535e-05/0.9888, allocations: 85 kB / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.9889, allocations: 33.45 kB / 1.117 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.9889, allocations: 80.14 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.989, allocations: 14.77 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.989, allocations: 0 / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.9892, allocations: 314.8 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/0.9897, allocations: 81.11 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.9903, allocations: 106.2 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.9909, allocations: 81.41 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.9909, allocations: 0 / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001117/0.992, allocations: 216.3 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.992, allocations: 3.875 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.9921, allocations: 3.844 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.9921, allocations: 2.625 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.9925, allocations: 61.47 kB / 1.117 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.9925, allocations: 0 / 1.117 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.9928, allocations: 38.16 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.9928, allocations: 6.922 kB / 1.118 GB, free: 30.27 MB / 0.698 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 8.704e-05/0.9929, allocations: 109.2 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.9929, allocations: 3.953 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.9942, allocations: 244.4 kB / 1.118 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.9942, allocations: 0 / 1.118 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.9942, allocations: 0 / 1.118 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9942, allocations: 0 / 1.118 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.9957, allocations: 456.7 kB / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9957, allocations: 7.844 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.996, allocations: 47.42 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.996, allocations: 4.422 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.9961, allocations: 3.812 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.9961, allocations: 4.484 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.9961, allocations: 0 / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.9972, allocations: 306.1 kB / 1.119 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.9972, allocations: 77.11 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.9972, allocations: 6.844 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.9976, allocations: 48.56 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.9976, allocations: 3.188 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.9976, allocations: 7.875 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.9977, allocations: 75.28 kB / 1.119 GB, free: 29.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.9977, allocations: 0 / 1.119 GB, free: 29.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002527/0.9979, allocations: 18.62 kB / 1.119 GB, free: 29.43 MB / 0.698 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.0001656/0.9981, allocations: 108.3 kB / 1.119 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.9992, allocations: 170.7 kB / 1.119 GB, free: 29.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9992, allocations: 8.094 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005198/0.9997, allocations: 88.97 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.9999, allocations: 6.391 kB / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.001, allocations: 217.3 kB / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/1.001, allocations: 0.6789 MB / 1.12 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002165/1.001, allocations: 31.89 kB / 1.12 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/1.001, allocations: 14.16 kB / 1.12 GB, free: 28.47 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/1.001, allocations: 0 / 1.12 GB, free: 28.47 MB / 0.698 GB Notification: Performance of Templates: time 0.002498/1.004, allocations: 0.7777 MB / 1.121 GB, free: 28.42 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)