Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00387/0.00387, allocations: 101.8 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 192.4 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 251.7 MB / 0.5094 GB, free: 3.105 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 71.89 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1953, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.0029/0.1983, allocations: 1.775 MB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1995, allocations: 0.7145 MB / 0.8305 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1997, allocations: 11.88 kB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.106e-05/0.1998, allocations: 7.875 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.334e-05/0.1999, allocations: 15.8 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.2004, allocations: 167.2 kB / 0.8307 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.2006, allocations: 119.7 kB / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2007, allocations: 60.77 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.2008, allocations: 59.84 kB / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.2009, allocations: 59.69 kB / 0.831 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.2009, allocations: 8 kB / 0.831 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.2011, allocations: 43.97 kB / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.2011, allocations: 35.89 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.2012, allocations: 51.73 kB / 0.8311 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.2014, allocations: 143.5 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2014, allocations: 0 / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.347e-06/0.2014, allocations: 4 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2014, allocations: 0 / 0.8312 GB, free: 12.95 MB / 0.6544 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.000558/0.202, allocations: 434.9 kB / 0.8316 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.202, allocations: 8.031 kB / 0.8316 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007455/0.2028, allocations: 120.5 kB / 0.8318 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2029, allocations: 180.2 kB / 0.8319 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/0.203, allocations: 67.95 kB / 0.832 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.203, allocations: 4.375 kB / 0.832 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.2035, allocations: 184.4 kB / 0.8322 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2035, allocations: 0 / 0.8322 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.2035, allocations: 4 kB / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2035, allocations: 4 kB / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.204, allocations: 155.8 kB / 0.8323 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/0.205, allocations: 474 kB / 0.8328 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008363/0.2059, allocations: 222.3 kB / 0.833 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.2061, allocations: 80.91 kB / 0.8331 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.2062, allocations: 11.97 kB / 0.8331 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2062, allocations: 30.56 kB / 0.8331 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2062, allocations: 0 / 0.8331 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0008687/0.2071, allocations: 265.4 kB / 0.8334 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.2071, allocations: 51.41 kB / 0.8334 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2072, allocations: 140.7 kB / 0.8336 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.2073, allocations: 29.7 kB / 0.8336 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.2073, allocations: 108.2 kB / 0.8337 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.2074, allocations: 19.72 kB / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.2074, allocations: 25.7 kB / 0.8337 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2075, allocations: 318.8 kB / 0.834 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.2078, allocations: 75.92 kB / 0.8341 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.2081, allocations: 102.4 kB / 0.8342 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.2085, allocations: 162.4 kB / 0.8344 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2086, allocations: 256 / 0.8344 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005508/0.2091, allocations: 205.4 kB / 0.8346 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2091, allocations: 8 kB / 0.8346 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2091, allocations: 4.062 kB / 0.8346 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2092, allocations: 7.875 kB / 0.8346 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.2094, allocations: 35.95 kB / 0.8346 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.2094, allocations: 0 / 0.8346 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.2096, allocations: 31.89 kB / 0.8346 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.2096, allocations: 4 kB / 0.8346 GB, free: 9.199 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.696e-05/0.2097, allocations: 121.8 kB / 0.8348 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.2097, allocations: 7.906 kB / 0.8348 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006262/0.2104, allocations: 210.1 kB / 0.835 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2104, allocations: 4 kB / 0.835 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2104, allocations: 0 / 0.835 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2104, allocations: 0 / 0.835 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.2106, allocations: 234.3 kB / 0.8352 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2106, allocations: 0 / 0.8352 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.2108, allocations: 31.95 kB / 0.8352 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2108, allocations: 0 / 0.8352 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2109, allocations: 7.922 kB / 0.8352 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2109, allocations: 4 kB / 0.8352 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2109, allocations: 0 / 0.8352 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.2114, allocations: 287.2 kB / 0.8355 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.2115, allocations: 81.02 kB / 0.8356 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2115, allocations: 7.938 kB / 0.8356 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.2118, allocations: 35.95 kB / 0.8356 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.2118, allocations: 192 / 0.8356 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.2118, allocations: 11.98 kB / 0.8356 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.2119, allocations: 107.2 kB / 0.8357 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2119, allocations: 0 / 0.8357 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002425/0.2121, allocations: 27.94 kB / 0.8358 GB, free: 7.941 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001033/0.2122, allocations: 99.25 kB / 0.8359 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005439/0.2128, allocations: 167.8 kB / 0.836 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2128, allocations: 0 / 0.836 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.2131, allocations: 87.98 kB / 0.8361 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.2133, allocations: 14.22 kB / 0.8361 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.2139, allocations: 251.4 kB / 0.8364 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2142, allocations: 0.704 MB / 0.837 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.482e-05/0.2142, allocations: 19.94 kB / 0.8371 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.2143, allocations: 15.42 kB / 0.8371 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of SimCode: time 1.91e-07/0.2143, allocations: 0 / 0.8371 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of Templates: time 0.003414/0.2177, allocations: 1.471 MB / 0.8385 GB, free: 5.078 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)