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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.6 MB / 307.6 MB, free: 5.207 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.001071/0.001071, allocations: 184.2 kB / 377.1 MB, free: 1.52 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.68/1.68, allocations: 205.4 MB / 0.6367 GB, free: 9.488 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009592/0.0009592, allocations: 97.59 kB / 0.751 GB, free: 62.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 16 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.283, allocations: 116.3 MB / 0.9884 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7212/1.004, allocations: 138.9 MB / 1.124 GB, free: 35.8 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/1.005, allocations: 78.58 kB / 1.124 GB, free: 35.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002027/1.007, allocations: 0.856 MB / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.823e-06/1.007, allocations: 0 / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.809e-06/1.007, allocations: 0 / 1.125 GB, free: 35.02 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.00019/1.007, allocations: 316.8 kB / 1.125 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.007, allocations: 8.594 kB / 1.125 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/1.007, allocations: 2.625 kB / 1.125 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.993e-05/1.007, allocations: 162.5 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/1.007, allocations: 0.6562 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/1.007, allocations: 9.859 kB / 1.125 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/1.007, allocations: 34.97 kB / 1.125 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.007, allocations: 0.5625 kB / 1.125 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/1.007, allocations: 0.8125 kB / 1.125 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.007, allocations: 2.406 kB / 1.125 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.098e-05/1.007, allocations: 10.25 kB / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/1.007, allocations: 157.8 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/1.007, allocations: 34.89 kB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/1.008, allocations: 85.05 kB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/1.008, allocations: 34.56 kB / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/1.008, allocations: 0 / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.003924/1.012, allocations: 0.568 MB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/1.012, allocations: 55.41 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.147e-05/1.012, allocations: 89 kB / 1.126 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/1.012, allocations: 25.7 kB / 1.126 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.37e-05/1.012, allocations: 88.08 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/1.012, allocations: 8.688 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/1.012, allocations: 4.562 kB / 1.127 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.644e-05/1.012, allocations: 314.8 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/1.012, allocations: 81.88 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/1.013, allocations: 109.2 kB / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/1.014, allocations: 82.31 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.014, allocations: 0 / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001166/1.015, allocations: 218.2 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.015, allocations: 6.594 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.015, allocations: 0 / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.015, allocations: 4 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/1.015, allocations: 47.8 kB / 1.127 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.015, allocations: 0 / 1.127 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/1.015, allocations: 42.98 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/1.015, allocations: 4 kB / 1.127 GB, free: 32.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/1.016, allocations: 118.1 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/1.016, allocations: 4.891 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/1.017, allocations: 235.8 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.017, allocations: 0.7969 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.017, allocations: 0 / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.017, allocations: 3.469 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/1.018, allocations: 461.1 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/1.018, allocations: 0.5625 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/1.019, allocations: 46.52 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.019, allocations: 7.281 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/1.019, allocations: 0 / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.019, allocations: 2.141 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.019, allocations: 0 / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/1.02, allocations: 311.9 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/1.02, allocations: 78 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/1.02, allocations: 4 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/1.02, allocations: 45.8 kB / 1.129 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/1.02, allocations: 4 kB / 1.129 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/1.02, allocations: 4 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.577e-05/1.02, allocations: 75.28 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/1.02, allocations: 0 / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002452/1.021, allocations: 19.56 kB / 1.129 GB, free: 31.07 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 (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.0001746/1.021, allocations: 107.7 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001108/1.022, allocations: 180.7 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.022, allocations: 0 / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/1.022, allocations: 90 kB / 1.129 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/1.022, allocations: 4.609 kB / 1.129 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/1.023, allocations: 216.6 kB / 1.129 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/1.024, allocations: 0.6798 MB / 1.13 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002114/1.024, allocations: 28 kB / 1.13 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/1.024, allocations: 11.44 kB / 1.13 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.024, allocations: 3.938 kB / 1.13 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.002696/1.027, allocations: 0.7891 MB / 1.131 GB, free: 29.36 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (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)