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.00151/0.00151, allocations: 109.8 kB / 16.41 MB, free: 6.027 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.001692/0.001692, allocations: 188.5 kB / 17.34 MB, free: 5.633 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.726/0.726, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 61.02 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1682, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002437/0.1707, allocations: 1.446 MB / 0.6335 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003714/0.1711, allocations: 148.4 kB / 0.6336 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.1711, allocations: 0 / 0.6336 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.1712, allocations: 3.938 kB / 0.6336 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.073e-05/0.1713, allocations: 11.92 kB / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.1715, allocations: 31.91 kB / 0.6337 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.1716, allocations: 39.91 kB / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1717, allocations: 24 kB / 0.6337 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.1718, allocations: 19.91 kB / 0.6338 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.1718, allocations: 19.92 kB / 0.6338 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1719, allocations: 7.938 kB / 0.6338 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.584e-05/0.1719, allocations: 35.91 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.172, allocations: 8 kB / 0.6338 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.172, allocations: 19.86 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1721, allocations: 71.8 kB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1722, allocations: 0 / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1722, allocations: 0 / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1722, allocations: 0 / 0.6339 GB, free: 2.523 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.0004445/0.1726, allocations: 355.4 kB / 0.6343 GB, free: 2.125 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1727, allocations: 8.031 kB / 0.6343 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.1738, allocations: 220.5 kB / 0.6345 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1739, allocations: 168.3 kB / 0.6346 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1739, allocations: 4.375 kB / 0.6346 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.1739, allocations: 12.31 kB / 0.6346 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.1745, allocations: 190 kB / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1745, allocations: 192 / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.1745, allocations: 7.938 kB / 0.6348 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1746, allocations: 0 / 0.6348 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008703/0.1754, allocations: 279.5 kB / 0.6351 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/0.1763, allocations: 445.3 kB / 0.6355 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.1775, allocations: 290.2 kB / 0.6358 GB, free: 444 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.1779, allocations: 104.7 kB / 0.6359 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1779, allocations: 0 / 0.6359 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1779, allocations: 34.56 kB / 0.6359 GB, free: 292 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1779, allocations: 0 / 0.6359 GB, free: 292 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.001211/0.1792, allocations: 309.3 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1792, allocations: 51.41 kB / 0.6363 GB, free: 15.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.1793, allocations: 121.8 kB / 0.6364 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1793, allocations: 25.7 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.1794, allocations: 84.14 kB / 0.6365 GB, free: 15.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1794, allocations: 15.75 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.1795, allocations: 25.64 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.1796, allocations: 319.2 kB / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.18, allocations: 95.88 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.1803, allocations: 95.86 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.181, allocations: 172.6 kB / 0.6372 GB, free: 14.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1811, allocations: 3.938 kB / 0.6372 GB, free: 14.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007751/0.1818, allocations: 213.5 kB / 0.6374 GB, free: 14.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1819, allocations: 9.875 kB / 0.6374 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1819, allocations: 0 / 0.6374 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1819, allocations: 0 / 0.6374 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.1822, allocations: 39.88 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1822, allocations: 0 / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.1824, allocations: 31.95 kB / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1824, allocations: 3.938 kB / 0.6375 GB, free: 14.64 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 9.101e-05/0.1825, allocations: 121.8 kB / 0.6376 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.1825, allocations: 3.906 kB / 0.6376 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.1826, allocations: 11.91 kB / 0.6376 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1826, allocations: 0 / 0.6376 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1826, allocations: 0 / 0.6376 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1826, allocations: 4 kB / 0.6376 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1828, allocations: 205.5 kB / 0.6378 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1828, allocations: 0 / 0.6378 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.1831, allocations: 39.94 kB / 0.6379 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1831, allocations: 0 / 0.6379 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1831, allocations: 0 / 0.6379 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1831, allocations: 4 kB / 0.6379 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1831, allocations: 0 / 0.6379 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/0.1839, allocations: 319.1 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.184, allocations: 81.47 kB / 0.6382 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.184, allocations: 4 kB / 0.6382 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.1842, allocations: 31.95 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.1843, allocations: 0 / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1843, allocations: 8 kB / 0.6383 GB, free: 13.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.858e-05/0.1843, allocations: 91.27 kB / 0.6384 GB, free: 13.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1843, allocations: 0 / 0.6384 GB, free: 13.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.1846, allocations: 12 kB / 0.6384 GB, free: 13.62 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.000109/0.1847, allocations: 103.2 kB / 0.6385 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007689/0.1855, allocations: 199.7 kB / 0.6387 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1855, allocations: 288 / 0.6387 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.1858, allocations: 103.8 kB / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.1861, allocations: 11.94 kB / 0.6388 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008919/0.187, allocations: 261.2 kB / 0.639 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.1872, allocations: 0.6924 MB / 0.6397 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.792e-05/0.1873, allocations: 19.98 kB / 0.6397 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.1874, allocations: 11.44 kB / 0.6397 GB, free: 12.17 MB / 494.1 MB Notification: Performance of SimCode: time 1.693e-06/0.1874, allocations: 0 / 0.6397 GB, free: 12.17 MB / 494.1 MB Notification: Performance of Templates: time 0.002831/0.1902, allocations: 0.9349 MB / 0.6406 GB, free: 11.23 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)