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.00448/0.004479, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.0009571/0.0009572, allocations: 197.2 kB / 16.67 MB, free: 5.922 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.221/1.221, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.364/1.364, allocations: 251.7 MB / 0.5094 GB, free: 2.938 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.001275/0.001275, allocations: 77.77 kB / 0.7258 GB, free: 9.094 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1737, allocations: 104.7 MB / 0.828 GB, free: 300 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002204/0.176, allocations: 1.466 MB / 0.8295 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003313/0.1763, allocations: 144.4 kB / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.1763, allocations: 0 / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.1764, allocations: 3.938 kB / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.823e-05/0.1765, allocations: 11.92 kB / 0.8296 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.1767, allocations: 31.91 kB / 0.8297 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.172e-05/0.1768, allocations: 43.84 kB / 0.8297 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1769, allocations: 15.98 kB / 0.8297 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.1769, allocations: 23.92 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.177, allocations: 23.92 kB / 0.8298 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.177, allocations: 0 / 0.8298 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.252e-05/0.1771, allocations: 31.97 kB / 0.8298 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.1771, allocations: 7.984 kB / 0.8298 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.1771, allocations: 19.88 kB / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1773, allocations: 71.73 kB / 0.8299 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-05/0.1773, allocations: 3.984 kB / 0.8299 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1773, allocations: 0 / 0.8299 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1773, allocations: 0 / 0.8299 GB, free: 14.38 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.0004086/0.1777, allocations: 367.2 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1778, allocations: 8.031 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009285/0.1787, allocations: 212.5 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1788, allocations: 168.3 kB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1788, allocations: 12.38 kB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1789, allocations: 384 / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.1794, allocations: 194 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.1794, allocations: 192 / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1794, allocations: 3.938 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1795, allocations: 0 / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000751/0.1802, allocations: 283.6 kB / 0.8311 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007703/0.181, allocations: 449.1 kB / 0.8315 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009688/0.182, allocations: 286.2 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.1823, allocations: 100.8 kB / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1823, allocations: 0 / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.1823, allocations: 30.56 kB / 0.8319 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1823, allocations: 0 / 0.8319 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.001022/0.1834, allocations: 313.2 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.1834, allocations: 59.39 kB / 0.8323 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.1835, allocations: 125.7 kB / 0.8324 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1835, allocations: 25.7 kB / 0.8324 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.1836, allocations: 92.14 kB / 0.8325 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.1836, allocations: 7.906 kB / 0.8325 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.1836, allocations: 17.7 kB / 0.8325 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/0.1837, allocations: 322.8 kB / 0.8328 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.1841, allocations: 99.86 kB / 0.8329 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.1844, allocations: 95.88 kB / 0.833 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/0.185, allocations: 168.6 kB / 0.8332 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.185, allocations: 7.938 kB / 0.8332 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006511/0.1856, allocations: 205.5 kB / 0.8334 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1856, allocations: 4 kB / 0.8334 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1857, allocations: 4 kB / 0.8334 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1857, allocations: 4 kB / 0.8334 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.1859, allocations: 31.94 kB / 0.8334 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1859, allocations: 4 kB / 0.8334 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.1861, allocations: 39.84 kB / 0.8335 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1861, allocations: 4 kB / 0.8335 GB, free: 10.49 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 7.404e-05/0.1862, allocations: 117.8 kB / 0.8336 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.1862, allocations: 4.328 kB / 0.8336 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.1863, allocations: 11.91 kB / 0.8336 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1863, allocations: 3.984 kB / 0.8336 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1863, allocations: 0 / 0.8336 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1863, allocations: 0 / 0.8336 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.1865, allocations: 209.5 kB / 0.8338 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1865, allocations: 0 / 0.8338 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.1867, allocations: 39.88 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1867, allocations: 4 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1867, allocations: 0 / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1867, allocations: 0 / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1867, allocations: 0 / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.1874, allocations: 315.2 kB / 0.8341 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.1875, allocations: 85.09 kB / 0.8342 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.1875, allocations: 3.938 kB / 0.8342 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1877, allocations: 31.95 kB / 0.8343 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.1877, allocations: 0 / 0.8343 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1877, allocations: 0 / 0.8343 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.187e-05/0.1878, allocations: 99.58 kB / 0.8343 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1878, allocations: 4 kB / 0.8344 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002129/0.1881, allocations: 15.95 kB / 0.8344 GB, free: 9.465 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 9.382e-05/0.1882, allocations: 111.1 kB / 0.8345 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006864/0.1889, allocations: 195.8 kB / 0.8347 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1889, allocations: 0 / 0.8347 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.1892, allocations: 95.86 kB / 0.8348 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.1894, allocations: 10.41 kB / 0.8348 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/0.1902, allocations: 253.2 kB / 0.835 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.1904, allocations: 0.6923 MB / 0.8357 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.457e-05/0.1905, allocations: 23.98 kB / 0.8357 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.1905, allocations: 7.438 kB / 0.8357 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.1905, allocations: 0 / 0.8357 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of Templates: time 0.002583/0.1931, allocations: 0.9415 MB / 0.8366 GB, free: 7.094 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)