Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.756/1.756, allocations: 297.8 MB / 313.7 MB, free: 148 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.001176/0.001176, allocations: 184.5 kB / 384.6 MB, free: 10.87 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.476/1.476, 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.0008006/0.0008005, allocations: 95.72 kB / 0.7808 GB, free: 50.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004538, allocations: 20.48 kB / 0.9088 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8287, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/1.014, allocations: 141.6 MB / 1.165 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/1.015, allocations: 76.59 kB / 1.165 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003064/1.018, allocations: 1.125 MB / 1.166 GB, free: 1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.515e-06/1.018, allocations: 0 / 1.166 GB, free: 1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.018, allocations: 1.156 kB / 1.166 GB, free: 1 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.0003273/1.018, allocations: 347.8 kB / 1.166 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/1.018, allocations: 8.031 kB / 1.166 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/1.018, allocations: 9.453 kB / 1.166 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/1.018, allocations: 165.8 kB / 1.166 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/1.018, allocations: 0.9375 kB / 1.166 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/1.018, allocations: 4.375 kB / 1.166 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/1.018, allocations: 56.83 kB / 1.166 GB, free: 364 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.018, allocations: 192 / 1.166 GB, free: 364 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/1.018, allocations: 8.703 kB / 1.166 GB, free: 360 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/1.018, allocations: 0.75 kB / 1.166 GB, free: 360 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/1.019, allocations: 47.36 kB / 1.166 GB, free: 324 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/1.019, allocations: 266.4 kB / 1.167 GB, free: 24 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/1.019, allocations: 48.97 kB / 1.167 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.403e-05/1.019, allocations: 28.14 kB / 1.167 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/1.019, allocations: 84.64 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/1.019, allocations: 33.06 kB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.019, allocations: 0 / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003631/1.02, allocations: 109.5 kB / 1.167 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/1.02, allocations: 51.92 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/1.02, allocations: 105.2 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/1.02, allocations: 26.98 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/1.02, allocations: 81.08 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/1.02, allocations: 8.516 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/1.02, allocations: 1.75 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.02, allocations: 317 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-05/1.02, allocations: 21.16 kB / 1.168 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/1.02, allocations: 24.14 kB / 1.168 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/1.02, allocations: 51.59 kB / 1.168 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.02, allocations: 0 / 1.168 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/1.021, allocations: 83.22 kB / 1.168 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.021, allocations: 4.562 kB / 1.168 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.021, allocations: 7.469 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.021, allocations: 1.875 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/1.021, allocations: 10.3 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.021, allocations: 3.016 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/1.021, allocations: 7.125 kB / 1.168 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/1.021, allocations: 5.703 kB / 1.168 GB, free: 14.94 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.072e-05/1.021, allocations: 111.2 kB / 1.168 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/1.021, allocations: 0.6094 kB / 1.168 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/1.021, allocations: 90.09 kB / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.021, allocations: 4 kB / 1.168 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.021, allocations: 1.484 kB / 1.168 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/1.021, allocations: 0 / 1.168 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/1.021, allocations: 159.8 kB / 1.168 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.021, allocations: 0 / 1.168 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.938e-05/1.022, allocations: 12.88 kB / 1.168 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/1.022, allocations: 1.031 kB / 1.168 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/1.022, allocations: 5.5 kB / 1.168 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.022, allocations: 0 / 1.168 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.022, allocations: 256 / 1.168 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/1.022, allocations: 182.9 kB / 1.168 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/1.022, allocations: 77.77 kB / 1.168 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/1.022, allocations: 8.781 kB / 1.168 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/1.022, allocations: 8.828 kB / 1.168 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/1.022, allocations: 1.078 kB / 1.168 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/1.022, allocations: 4.938 kB / 1.168 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.922e-05/1.022, allocations: 86.89 kB / 1.168 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.022, allocations: 0 / 1.168 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002059/1.022, allocations: 4.562 kB / 1.168 GB, free: 14.15 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 (2): * Single equations (assignments): 2 * 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.0001499/1.022, allocations: 117 kB / 1.169 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002088/1.023, allocations: 45.84 kB / 1.169 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.023, allocations: 0 / 1.169 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.7e-05/1.023, allocations: 29.22 kB / 1.169 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/1.023, allocations: 15.97 kB / 1.169 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/1.023, allocations: 108.8 kB / 1.169 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/1.024, allocations: 0.6796 MB / 1.169 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.896e-05/1.024, allocations: 1.281 kB / 1.169 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/1.024, allocations: 11.5 kB / 1.169 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/1.024, allocations: 0 / 1.169 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of Templates: time 0.002573/1.026, allocations: 487.7 kB / 1.17 GB, free: 12.86 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)