Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005522/0.005522, allocations: 98.14 kB / 15.73 MB, free: 6.039 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.001064/0.001064, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.275/1.275, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.414/1.414, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001429/0.001429, allocations: 63.91 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1843, allocations: 104.7 MB / 0.8281 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002394/0.1867, allocations: 1.447 MB / 0.8295 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003993/0.1872, allocations: 152.4 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.1872, allocations: 0 / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.942e-05/0.1873, allocations: 3.984 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.1874, allocations: 7.938 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.1876, allocations: 27.91 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.738e-05/0.1877, allocations: 39.86 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1878, allocations: 35.91 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/0.1879, allocations: 11.94 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.1879, allocations: 23.91 kB / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1879, allocations: 4 kB / 0.8298 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1881, allocations: 27.98 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.1881, allocations: 11.98 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.1881, allocations: 23.81 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.1883, allocations: 71.78 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1883, allocations: 0 / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1883, allocations: 0 / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.1884, allocations: 0 / 0.8299 GB, free: 14.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005991/0.189, allocations: 355.3 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.189, allocations: 12.02 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.1901, allocations: 216.6 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1902, allocations: 172.3 kB / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1903, allocations: 4.375 kB / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.1903, allocations: 4.375 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.1909, allocations: 201.9 kB / 0.8308 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1909, allocations: 192 / 0.8308 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.1909, allocations: 7.938 kB / 0.8308 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1909, allocations: 0 / 0.8308 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/0.1917, allocations: 275.5 kB / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008335/0.1925, allocations: 449.2 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009167/0.1934, allocations: 290.1 kB / 0.8318 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.1937, allocations: 100.8 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1938, allocations: 3.984 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.1938, allocations: 34.56 kB / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1938, allocations: 0 / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.001008/0.1948, allocations: 313.2 kB / 0.8322 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.1949, allocations: 55.34 kB / 0.8323 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.195, allocations: 117.8 kB / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.195, allocations: 25.7 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.195, allocations: 88.12 kB / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.1951, allocations: 7.906 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.1951, allocations: 21.66 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.1952, allocations: 326.8 kB / 0.8328 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.1955, allocations: 91.88 kB / 0.8329 GB, free: 11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.1958, allocations: 91.88 kB / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/0.1964, allocations: 172.6 kB / 0.8332 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1964, allocations: 0 / 0.8332 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006264/0.197, allocations: 221.3 kB / 0.8334 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1971, allocations: 8 kB / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.1971, allocations: 3.984 kB / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1971, allocations: 0 / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.1973, allocations: 31.95 kB / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1973, allocations: 0 / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.1975, allocations: 28.28 kB / 0.8334 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1975, allocations: 7.984 kB / 0.8335 GB, free: 10.43 MB / 0.6544 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 (3): * Single equations (assignments): 3 * 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 8.536e-05/0.1976, allocations: 117.8 kB / 0.8336 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.1976, allocations: 0 / 0.8336 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.1977, allocations: 15.89 kB / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1977, allocations: 0 / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1977, allocations: 3.984 kB / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1977, allocations: 384 / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1979, allocations: 217.4 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1979, allocations: 0 / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.1981, allocations: 31.95 kB / 0.8338 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1981, allocations: 3.938 kB / 0.8338 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1982, allocations: 0 / 0.8338 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1982, allocations: 7.984 kB / 0.8338 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1982, allocations: 0 / 0.8338 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.1989, allocations: 319.2 kB / 0.8341 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.1989, allocations: 81.02 kB / 0.8342 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1989, allocations: 0 / 0.8342 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.1991, allocations: 31.95 kB / 0.8342 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.1992, allocations: 7.984 kB / 0.8343 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-06/0.1992, allocations: 0 / 0.8343 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.1993, allocations: 95.27 kB / 0.8343 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1993, allocations: 3.938 kB / 0.8344 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002269/0.1995, allocations: 15.94 kB / 0.8344 GB, free: 9.402 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 (3): * Single equations (assignments): 3 * 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.0001272/0.1997, allocations: 99.19 kB / 0.8345 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006551/0.2003, allocations: 203.7 kB / 0.8347 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2003, allocations: 0 / 0.8347 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.2006, allocations: 99.88 kB / 0.8348 GB, free: 9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.2009, allocations: 4 kB / 0.8348 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/0.2017, allocations: 261.3 kB / 0.835 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.202, allocations: 0.6885 MB / 0.8357 GB, free: 8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.097e-05/0.2021, allocations: 19.98 kB / 0.8357 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.2021, allocations: 15.42 kB / 0.8357 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.2021, allocations: 0 / 0.8357 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of Templates: time 0.002868/0.205, allocations: 0.9512 MB / 0.8366 GB, free: 7.02 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)