Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.755/1.755, allocations: 297.8 MB / 313.7 MB, free: 48 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.00107/0.001069, allocations: 176.5 kB / 384.6 MB, free: 10.79 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.394/1.394, allocations: 223.2 MB / 0.6626 GB, free: 4.281 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.0008104/0.0008103, allocations: 96.47 kB / 0.7808 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003926, allocations: 16 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.7427, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.9719, allocations: 143 MB / 1.166 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.9722, allocations: 80.52 kB / 1.166 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01651/0.9887, allocations: 5.121 MB / 1.171 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9888, allocations: 2.031 kB / 1.171 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.9888, allocations: 4 kB / 1.171 GB, free: 13.1 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007022/0.9895, allocations: 423 kB / 1.171 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.9896, allocations: 8.734 kB / 1.171 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007862/0.9904, allocations: 117.2 kB / 1.172 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.9906, allocations: 190.1 kB / 1.172 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.9907, allocations: 64.7 kB / 1.172 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.9908, allocations: 14.19 kB / 1.172 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.9914, allocations: 185.3 kB / 1.172 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.9914, allocations: 3.938 kB / 1.172 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.9914, allocations: 4 kB / 1.172 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.9914, allocations: 0 / 1.172 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.9921, allocations: 193.8 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.9933, allocations: 0.4996 MB / 1.173 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009768/0.9943, allocations: 275.7 kB / 1.173 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.9946, allocations: 94.97 kB / 1.173 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.9947, allocations: 8.594 kB / 1.173 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.9947, allocations: 39.17 kB / 1.173 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.9947, allocations: 0 / 1.173 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.001031/0.9958, allocations: 314.3 kB / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.9958, allocations: 56.05 kB / 1.173 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.996, allocations: 137.2 kB / 1.174 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.996, allocations: 29.7 kB / 1.174 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.9961, allocations: 117 kB / 1.174 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.9961, allocations: 17.06 kB / 1.174 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.9961, allocations: 4 kB / 1.174 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9963, allocations: 322 kB / 1.174 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.9966, allocations: 89.38 kB / 1.174 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.9969, allocations: 113.5 kB / 1.174 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/0.9975, allocations: 199.4 kB / 1.174 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9975, allocations: 0 / 1.174 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006782/0.9982, allocations: 237 kB / 1.175 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.9983, allocations: 9.234 kB / 1.175 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9983, allocations: 1 kB / 1.175 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.9983, allocations: 0 / 1.175 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.9986, allocations: 52.64 kB / 1.175 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.9986, allocations: 0.8438 kB / 1.175 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.9988, allocations: 33.7 kB / 1.175 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.9988, allocations: 5.453 kB / 1.175 GB, free: 9.637 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 (8): * Single equations (assignments): 8 * 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 0.000128/0.9989, allocations: 118.4 kB / 1.175 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.999, allocations: 8.516 kB / 1.175 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/0.9997, allocations: 240.8 kB / 1.175 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.9997, allocations: 3.938 kB / 1.175 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.9997, allocations: 3.938 kB / 1.175 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9998, allocations: 4 kB / 1.175 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/1, allocations: 245 kB / 1.175 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1, allocations: 0 / 1.175 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/1, allocations: 40.58 kB / 1.175 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/1, allocations: 0.9375 kB / 1.175 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1, allocations: 0 / 1.175 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1, allocations: 3.938 kB / 1.175 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1, allocations: 2.609 kB / 1.175 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/1.001, allocations: 327.2 kB / 1.176 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/1.001, allocations: 92.84 kB / 1.176 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/1.001, allocations: 4 kB / 1.176 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/1.001, allocations: 47.89 kB / 1.176 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/1.001, allocations: 0 / 1.176 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/1.001, allocations: 11.98 kB / 1.176 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.84e-05/1.002, allocations: 110.7 kB / 1.176 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.002, allocations: 4 kB / 1.176 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002594/1.002, allocations: 20 kB / 1.176 GB, free: 8.32 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 (6): * Single equations (assignments): 6 * 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.0001577/1.002, allocations: 95.25 kB / 1.176 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006196/1.003, allocations: 204.5 kB / 1.176 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.003, allocations: 0 / 1.176 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/1.003, allocations: 104 kB / 1.176 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/1.003, allocations: 10.03 kB / 1.176 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/1.004, allocations: 295.1 kB / 1.177 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/1.004, allocations: 0.7043 MB / 1.177 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001073/1.004, allocations: 12.94 kB / 1.177 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/1.004, allocations: 15.42 kB / 1.177 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.004, allocations: 8 kB / 1.177 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.003945/1.008, allocations: 1.335 MB / 1.179 GB, free: 5.535 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)