Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001102/0.001102, allocations: 107.9 kB / 16.41 MB, free: 6.48 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: 193.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7606/0.7606, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 66.88 kB / 0.5577 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1719, allocations: 76.18 MB / 0.6321 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002563/0.1745, allocations: 1.454 MB / 0.6335 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004152/0.1749, allocations: 140.4 kB / 0.6336 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.175, allocations: 0 / 0.6336 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.175, allocations: 7.875 kB / 0.6336 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.1751, allocations: 3.938 kB / 0.6336 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1754, allocations: 39.91 kB / 0.6337 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.366e-05/0.1755, allocations: 43.89 kB / 0.6337 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1756, allocations: 19.98 kB / 0.6337 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.1757, allocations: 15.94 kB / 0.6338 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.1757, allocations: 23.92 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1757, allocations: 0 / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.26e-05/0.1758, allocations: 39.91 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.1759, allocations: 4 kB / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1759, allocations: 27.84 kB / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.176, allocations: 59.88 kB / 0.6339 GB, free: 2.492 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1761, allocations: 0 / 0.6339 GB, free: 2.492 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1761, allocations: 0 / 0.6339 GB, free: 2.492 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1761, allocations: 0 / 0.6339 GB, free: 2.492 MB / 478.1 MB 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.0004514/0.1765, allocations: 359.4 kB / 0.6343 GB, free: 2.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1766, allocations: 8.031 kB / 0.6343 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.1776, allocations: 216.5 kB / 0.6345 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1777, allocations: 176.2 kB / 0.6346 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1777, allocations: 8.375 kB / 0.6346 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.1778, allocations: 4.312 kB / 0.6346 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.1783, allocations: 198 kB / 0.6348 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1783, allocations: 192 / 0.6348 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1784, allocations: 3.938 kB / 0.6348 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1784, allocations: 0 / 0.6348 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007728/0.1792, allocations: 283.6 kB / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009373/0.1801, allocations: 437.2 kB / 0.6355 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.1811, allocations: 282.2 kB / 0.6358 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.1815, allocations: 108.8 kB / 0.6359 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1815, allocations: 0 / 0.6359 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.1815, allocations: 30.56 kB / 0.6359 GB, free: 264 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1815, allocations: 0 / 0.6359 GB, free: 264 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.001089/0.1826, allocations: 309.3 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.1827, allocations: 55.41 kB / 0.6363 GB, free: 15.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.1828, allocations: 121.8 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1828, allocations: 25.7 kB / 0.6364 GB, free: 15.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.1828, allocations: 88.14 kB / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.1829, allocations: 23.81 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.1829, allocations: 17.7 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1831, allocations: 322.8 kB / 0.6368 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.1834, allocations: 95.86 kB / 0.6369 GB, free: 15.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.1838, allocations: 99.88 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005868/0.1844, allocations: 160.6 kB / 0.6372 GB, free: 14.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1844, allocations: 3.938 kB / 0.6372 GB, free: 14.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000662/0.185, allocations: 221.7 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1851, allocations: 4 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1851, allocations: 4 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1851, allocations: 48 / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.1853, allocations: 39.92 kB / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1853, allocations: 0 / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.1855, allocations: 27.95 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1856, allocations: 7.938 kB / 0.6375 GB, free: 14.6 MB / 494.1 MB 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.081e-05/0.1856, allocations: 121.8 kB / 0.6376 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.1857, allocations: 3.906 kB / 0.6376 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.1857, allocations: 11.91 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1857, allocations: 4 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1857, allocations: 0 / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1858, allocations: 0 / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.186, allocations: 209.5 kB / 0.6378 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.186, allocations: 0 / 0.6378 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.1862, allocations: 39.88 kB / 0.6379 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1862, allocations: 0 / 0.6379 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1863, allocations: 0 / 0.6379 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1863, allocations: 0 / 0.6379 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1863, allocations: 4 kB / 0.6379 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007613/0.187, allocations: 311.2 kB / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.1871, allocations: 85.09 kB / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1871, allocations: 4 kB / 0.6382 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.1874, allocations: 31.95 kB / 0.6383 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.1874, allocations: 0 / 0.6383 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1875, allocations: 0 / 0.6383 GB, free: 13.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.283e-05/0.1875, allocations: 99.58 kB / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1875, allocations: 0 / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1878, allocations: 12 kB / 0.6384 GB, free: 13.58 MB / 494.1 MB 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.0001097/0.1879, allocations: 111.1 kB / 0.6385 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006896/0.1886, allocations: 191.8 kB / 0.6387 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1886, allocations: 0 / 0.6387 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.1889, allocations: 103.9 kB / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.1892, allocations: 8 kB / 0.6388 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/0.19, allocations: 253.3 kB / 0.639 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1904, allocations: 0.6962 MB / 0.6397 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.44e-05/0.1905, allocations: 15.98 kB / 0.6397 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.1905, allocations: 15.44 kB / 0.6397 GB, free: 12.14 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1905, allocations: 0 / 0.6397 GB, free: 12.14 MB / 494.1 MB Notification: Performance of Templates: time 0.003146/0.1937, allocations: 0.9335 MB / 0.6406 GB, free: 11.21 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)