Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.191/5.191, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002488/0.002488, allocations: 362 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.383/4.383, allocations: 410.7 MB / 1.113 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001866/0.001866, allocations: 182.4 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005214/0.0005216, allocations: 16 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7586/0.7591, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.965, allocations: 139.7 MB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.9653, allocations: 89.25 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02358/0.9889, allocations: 5.037 MB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.845e-06/0.989, allocations: 0 / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.989, allocations: 3.938 kB / 1.603 GB, free: 139.5 MB / 0.8542 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.0006407/0.9896, allocations: 425.2 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.9897, allocations: 11.62 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.9908, allocations: 121.4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.991, allocations: 180.6 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.9911, allocations: 67.39 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.9911, allocations: 13.91 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/0.992, allocations: 192.3 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.992, allocations: 0 / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.9921, allocations: 4.969 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.9921, allocations: 4 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.9932, allocations: 194.9 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.9948, allocations: 0.4929 MB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.9967, allocations: 271.4 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.9973, allocations: 97.56 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.9973, allocations: 5.641 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.9974, allocations: 34.55 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 3.717e-06/0.9974, allocations: 2.531 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.001871/0.9993, allocations: 306.8 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.9993, allocations: 55.41 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.9995, allocations: 145.4 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.9995, allocations: 29.64 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.9996, allocations: 108.2 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.9997, allocations: 16.66 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/0.9997, allocations: 7.938 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.9998, allocations: 324.6 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/1, allocations: 90.58 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/1.001, allocations: 116.3 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/1.001, allocations: 86.06 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.001, allocations: 0 / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001245/1.003, allocations: 236.2 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.003, allocations: 8.656 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.003, allocations: 0 / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.003, allocations: 0.6562 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/1.003, allocations: 49.78 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.003, allocations: 0 / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/1.004, allocations: 43.39 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/1.004, allocations: 4 kB / 1.606 GB, free: 135.7 MB / 0.8542 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.0001439/1.004, allocations: 117.8 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/1.004, allocations: 7.906 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/1.005, allocations: 245.7 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/1.005, allocations: 1.938 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.005, allocations: 4.375 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.005, allocations: 0 / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/1.006, allocations: 245.8 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.006, allocations: 4 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004412/1.006, allocations: 45.73 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/1.006, allocations: 4.891 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/1.006, allocations: 0.6094 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.006, allocations: 0.8125 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.006, allocations: 0 / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/1.007, allocations: 323.6 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/1.008, allocations: 85.02 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/1.008, allocations: 4 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/1.008, allocations: 42.48 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/1.008, allocations: 7.922 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/1.008, allocations: 9.391 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.089e-05/1.008, allocations: 108.2 kB / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.11e-07/1.008, allocations: 0 / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003553/1.009, allocations: 33.06 kB / 1.608 GB, free: 134.3 MB / 0.8542 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.0001382/1.009, allocations: 99.19 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001213/1.01, allocations: 199 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.01, allocations: 0 / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005661/1.011, allocations: 107.7 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/1.011, allocations: 14.31 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009828/1.012, allocations: 294.2 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/1.012, allocations: 0.7019 MB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001833/1.012, allocations: 21.06 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.979e-05/1.013, allocations: 11.44 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.412e-06/1.013, allocations: 0 / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.004889/1.018, allocations: 1.309 MB / 1.61 GB, free: 131.6 MB / 0.8542 GB