Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.783/1.783, allocations: 297.8 MB / 313.8 MB, free: 140 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.0009329/0.000933, allocations: 188.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.38/1.38, 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.000799/0.0007989, allocations: 99.98 kB / 0.7808 GB, free: 43.58 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004309, allocations: 12 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.762/0.7625, allocations: 120.3 MB / 1.026 GB, free: 56.58 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2133/0.9759, allocations: 141.3 MB / 1.164 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.9762, allocations: 77.41 kB / 1.164 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003946/0.9802, allocations: 1.361 MB / 1.166 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9802, allocations: 0 / 1.166 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.9802, allocations: 0.625 kB / 1.166 GB, free: 15.54 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004251/0.9806, allocations: 350.9 kB / 1.166 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.9807, allocations: 8.031 kB / 1.166 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.9807, allocations: 9.344 kB / 1.166 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.9809, allocations: 169.5 kB / 1.166 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.9809, allocations: 384 / 1.166 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.9809, allocations: 4.375 kB / 1.166 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.9811, allocations: 60.7 kB / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.9811, allocations: 192 / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.9811, allocations: 5.906 kB / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.9812, allocations: 0 / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.9813, allocations: 43.3 kB / 1.166 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.9818, allocations: 268.2 kB / 1.167 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.9819, allocations: 46.5 kB / 1.167 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.982, allocations: 36.77 kB / 1.167 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.429e-05/0.9821, allocations: 81.11 kB / 1.167 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.9821, allocations: 30.56 kB / 1.167 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9822, allocations: 0 / 1.167 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000356/0.9825, allocations: 105.5 kB / 1.167 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.9826, allocations: 51.41 kB / 1.167 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.9827, allocations: 110 kB / 1.167 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.9827, allocations: 25.7 kB / 1.167 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.9827, allocations: 88.14 kB / 1.167 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.9828, allocations: 3.906 kB / 1.167 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.9828, allocations: 3.938 kB / 1.167 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.9829, allocations: 310.8 kB / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.983, allocations: 27.92 kB / 1.167 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/0.9831, allocations: 23.97 kB / 1.167 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.9833, allocations: 52.89 kB / 1.168 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9833, allocations: 4 kB / 1.168 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002042/0.9835, allocations: 77.59 kB / 1.168 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.9835, allocations: 4 kB / 1.168 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.9835, allocations: 0 / 1.168 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.9836, allocations: 0 / 1.168 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.9837, allocations: 20.02 kB / 1.168 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.9837, allocations: 0 / 1.168 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.9837, allocations: 4 kB / 1.168 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.9838, allocations: 0 / 1.168 GB, free: 13.33 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 0.0001104/0.9839, allocations: 121.7 kB / 1.168 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.9839, allocations: 0 / 1.168 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.9842, allocations: 84.78 kB / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.9842, allocations: 0 / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9842, allocations: 0 / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.9842, allocations: 4 kB / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.9844, allocations: 161.6 kB / 1.168 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9844, allocations: 4.031 kB / 1.168 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.9845, allocations: 8 kB / 1.168 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9845, allocations: 0 / 1.168 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.9845, allocations: 1.031 kB / 1.168 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9845, allocations: 3.938 kB / 1.168 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.9845, allocations: 7.984 kB / 1.168 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.9848, allocations: 179.3 kB / 1.168 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.9849, allocations: 81.09 kB / 1.168 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.9849, allocations: 0 / 1.168 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.985, allocations: 8 kB / 1.168 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.9851, allocations: 3.984 kB / 1.168 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.9851, allocations: 8.031 kB / 1.168 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.9852, allocations: 79.53 kB / 1.168 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9852, allocations: 0 / 1.168 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002469/0.9854, allocations: 19.94 kB / 1.168 GB, free: 12.47 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.0002889/0.9857, allocations: 115.8 kB / 1.168 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.9859, allocations: 55.91 kB / 1.169 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.986, allocations: 0 / 1.169 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.986, allocations: 23.97 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.9864, allocations: 10.28 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.9868, allocations: 113.3 kB / 1.169 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.9872, allocations: 0.677 MB / 1.169 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.9872, allocations: 4 kB / 1.169 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.9872, allocations: 7.438 kB / 1.169 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.9872, allocations: 0 / 1.169 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.003026/0.9903, allocations: 0.4885 MB / 1.17 GB, free: 10.93 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)