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.004145/0.004145, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.0009885/0.0009885, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.215/1.215, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.381/1.381, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001468/0.001468, allocations: 71.91 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1864, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002246/0.1887, allocations: 1.458 MB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003516/0.1891, allocations: 148.4 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.1891, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/0.1892, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.864e-05/0.1892, allocations: 7.938 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.1895, allocations: 35.89 kB / 0.8296 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.1896, allocations: 43.84 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1897, allocations: 19.94 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.1897, allocations: 15.92 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.1898, allocations: 31.91 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1898, allocations: 4 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.1899, allocations: 31.97 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.1899, allocations: 11.94 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.19, allocations: 19.86 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.1901, allocations: 67.73 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1901, allocations: 0 / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1901, allocations: 0 / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1901, allocations: 0 / 0.8299 GB, free: 14.29 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.0004203/0.1905, allocations: 367.3 kB / 0.8302 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1906, allocations: 12.03 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.1916, allocations: 208.5 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1917, allocations: 168.3 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1917, allocations: 4.375 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1917, allocations: 4.375 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.1922, allocations: 190 kB / 0.8308 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1923, allocations: 192 / 0.8308 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1923, allocations: 3.938 kB / 0.8308 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1923, allocations: 0 / 0.8308 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.1931, allocations: 291.5 kB / 0.8311 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008408/0.1939, allocations: 445.1 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.195, allocations: 290.1 kB / 0.8318 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.1954, allocations: 100.8 kB / 0.8319 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1954, allocations: 0 / 0.8319 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1954, allocations: 38.55 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1954, allocations: 0 / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.001122/0.1966, allocations: 313.2 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1966, allocations: 51.41 kB / 0.8323 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.1967, allocations: 121.8 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1967, allocations: 29.7 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.1968, allocations: 92.02 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.1968, allocations: 7.906 kB / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.1969, allocations: 21.7 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.1969, allocations: 314.8 kB / 0.8328 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.1973, allocations: 95.88 kB / 0.8329 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.1976, allocations: 96.25 kB / 0.833 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/0.1983, allocations: 172.6 kB / 0.8332 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1983, allocations: 4 kB / 0.8332 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006996/0.199, allocations: 213.4 kB / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.199, allocations: 7.938 kB / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.199, allocations: 0 / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.199, allocations: 4 kB / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.1993, allocations: 47.88 kB / 0.8334 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1993, allocations: 0 / 0.8334 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.1995, allocations: 27.95 kB / 0.8335 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1995, allocations: 0 / 0.8335 GB, free: 10.39 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.281e-05/0.1996, allocations: 117.8 kB / 0.8336 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.1996, allocations: 7.984 kB / 0.8336 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.1997, allocations: 7.906 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1997, allocations: 0 / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1997, allocations: 4 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1997, allocations: 0 / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1999, allocations: 209.4 kB / 0.8338 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1999, allocations: 4 kB / 0.8338 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.2001, allocations: 31.94 kB / 0.8338 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2001, allocations: 0 / 0.8338 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2002, allocations: 8 kB / 0.8338 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2002, allocations: 0 / 0.8338 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2002, allocations: 0 / 0.8338 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.2009, allocations: 319.2 kB / 0.8341 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.201, allocations: 81.02 kB / 0.8342 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.201, allocations: 3.984 kB / 0.8342 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.2012, allocations: 27.95 kB / 0.8342 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.2012, allocations: 0 / 0.8342 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2012, allocations: 7.938 kB / 0.8342 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.2013, allocations: 91.27 kB / 0.8343 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2013, allocations: 0 / 0.8343 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002239/0.2015, allocations: 23.94 kB / 0.8344 GB, free: 9.371 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.000105/0.2016, allocations: 99.19 kB / 0.8345 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007435/0.2024, allocations: 196.1 kB / 0.8346 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2024, allocations: 4 kB / 0.8346 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.2028, allocations: 99.81 kB / 0.8347 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.203, allocations: 8.453 kB / 0.8347 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008562/0.2039, allocations: 265.2 kB / 0.835 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.2041, allocations: 0.6884 MB / 0.8357 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.807e-05/0.2042, allocations: 23.98 kB / 0.8357 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.2042, allocations: 7.438 kB / 0.8357 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.2042, allocations: 0 / 0.8357 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of Templates: time 0.002795/0.207, allocations: 0.9431 MB / 0.8366 GB, free: 6.996 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)