Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.821/1.821, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 184.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008009/0.000801, allocations: 94.55 kB / 0.7808 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006608/0.0006609, allocations: 16.81 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7821/0.7828, allocations: 120.3 MB / 1.026 GB, free: 56.39 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2167/0.9996, allocations: 141.1 MB / 1.164 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.9999, allocations: 77.36 kB / 1.164 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002374/1.002, allocations: 0.8813 MB / 1.165 GB, free: 212 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.494e-06/1.002, allocations: 0 / 1.165 GB, free: 212 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.153e-06/1.002, allocations: 8 kB / 1.165 GB, free: 204 kB / 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.0002986/1.003, allocations: 318.5 kB / 1.165 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.003, allocations: 11.97 kB / 1.165 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/1.003, allocations: 2.219 kB / 1.165 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/1.003, allocations: 168.3 kB / 1.166 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/1.003, allocations: 384 / 1.166 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/1.003, allocations: 5.25 kB / 1.166 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/1.003, allocations: 42.19 kB / 1.166 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.003, allocations: 0.7812 kB / 1.166 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/1.003, allocations: 4.562 kB / 1.166 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.003, allocations: 1.266 kB / 1.166 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/1.003, allocations: 4.625 kB / 1.166 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/1.003, allocations: 154.3 kB / 1.166 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/1.003, allocations: 35.42 kB / 1.166 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/1.003, allocations: 8.391 kB / 1.166 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/1.004, allocations: 81.11 kB / 1.166 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.004, allocations: 38.59 kB / 1.166 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.004, allocations: 0 / 1.166 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.003774/1.007, allocations: 0.5715 MB / 1.166 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/1.007, allocations: 51.41 kB / 1.166 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.792e-05/1.008, allocations: 93.86 kB / 1.167 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/1.008, allocations: 29.7 kB / 1.167 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/1.008, allocations: 80.14 kB / 1.167 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/1.008, allocations: 15.78 kB / 1.167 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/1.008, allocations: 0 / 1.167 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.008, allocations: 318.8 kB / 1.167 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/1.008, allocations: 79.95 kB / 1.167 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/1.009, allocations: 102.5 kB / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/1.01, allocations: 194.4 kB / 1.167 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.01, allocations: 0 / 1.167 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001053/1.011, allocations: 213.6 kB / 1.168 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.011, allocations: 11.88 kB / 1.168 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.011, allocations: 0 / 1.168 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.011, allocations: 4 kB / 1.168 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/1.011, allocations: 48 kB / 1.168 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/1.011, allocations: 0 / 1.168 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/1.012, allocations: 43.97 kB / 1.168 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/1.012, allocations: 4 kB / 1.168 GB, free: 13.27 MB / 0.7448 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.563e-05/1.012, allocations: 118.2 kB / 1.168 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/1.012, allocations: 3.938 kB / 1.168 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/1.013, allocations: 241 kB / 1.168 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/1.013, allocations: 0.9375 kB / 1.168 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.013, allocations: 0 / 1.168 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.013, allocations: 0 / 1.168 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/1.014, allocations: 466.3 kB / 1.168 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.014, allocations: 0 / 1.168 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/1.015, allocations: 44.3 kB / 1.169 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/1.015, allocations: 7.984 kB / 1.169 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/1.015, allocations: 4 kB / 1.169 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.015, allocations: 0 / 1.169 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.015, allocations: 0 / 1.169 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/1.016, allocations: 307.4 kB / 1.169 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/1.016, allocations: 81.05 kB / 1.169 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/1.016, allocations: 4 kB / 1.169 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/1.016, allocations: 36.69 kB / 1.169 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/1.016, allocations: 7.984 kB / 1.169 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/1.016, allocations: 4 kB / 1.169 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.707e-05/1.016, allocations: 75.28 kB / 1.169 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/1.016, allocations: 0 / 1.169 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002408/1.017, allocations: 16 kB / 1.169 GB, free: 11.78 MB / 0.7448 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.0001854/1.017, allocations: 99.25 kB / 1.169 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001045/1.018, allocations: 187.9 kB / 1.169 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.018, allocations: 0 / 1.169 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004962/1.018, allocations: 88.08 kB / 1.169 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/1.019, allocations: 4.922 kB / 1.169 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/1.02, allocations: 219.1 kB / 1.17 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/1.02, allocations: 0.677 MB / 1.17 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000234/1.02, allocations: 28 kB / 1.17 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/1.02, allocations: 15.44 kB / 1.17 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/1.02, allocations: 0 / 1.17 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.002755/1.023, allocations: 0.7965 MB / 1.171 GB, free: 9.645 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)