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.001359/0.00136, allocations: 118.6 kB / 17.08 MB, free: 5.992 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.001071/0.001071, allocations: 197.9 kB / 18.02 MB, free: 5.066 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7335/0.7335, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 66.67 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1601, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.00304/0.1632, allocations: 1.448 MB / 0.6342 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004655/0.1637, allocations: 148.3 kB / 0.6343 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.1637, allocations: 4 kB / 0.6343 GB, free: 2.785 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.1638, allocations: 3.938 kB / 0.6343 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.539e-05/0.1639, allocations: 7.875 kB / 0.6343 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1642, allocations: 31.91 kB / 0.6343 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.1643, allocations: 43.91 kB / 0.6344 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1645, allocations: 23.98 kB / 0.6344 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.1646, allocations: 23.92 kB / 0.6344 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.1646, allocations: 15.92 kB / 0.6344 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1646, allocations: 7.938 kB / 0.6345 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1648, allocations: 31.97 kB / 0.6345 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.1648, allocations: 8 kB / 0.6345 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.1648, allocations: 23.86 kB / 0.6345 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.165, allocations: 59.86 kB / 0.6346 GB, free: 2.508 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.165, allocations: 0 / 0.6346 GB, free: 2.508 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.165, allocations: 0 / 0.6346 GB, free: 2.508 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.165, allocations: 0 / 0.6346 GB, free: 2.508 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.0005223/0.1656, allocations: 359.4 kB / 0.6349 GB, free: 2.105 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1656, allocations: 12.03 kB / 0.6349 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.1668, allocations: 212.5 kB / 0.6351 GB, free: 1.887 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.167, allocations: 168.3 kB / 0.6353 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.167, allocations: 8.312 kB / 0.6353 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.167, allocations: 8.375 kB / 0.6353 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.1676, allocations: 193.9 kB / 0.6355 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1676, allocations: 192 / 0.6355 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1677, allocations: 7.938 kB / 0.6355 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1677, allocations: 4 kB / 0.6355 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.1685, allocations: 283.6 kB / 0.6358 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1696, allocations: 429.3 kB / 0.6362 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.1707, allocations: 290.1 kB / 0.6365 GB, free: 432 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.1711, allocations: 104.8 kB / 0.6366 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.1712, allocations: 0 / 0.6366 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1712, allocations: 34.56 kB / 0.6366 GB, free: 280 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1712, allocations: 0 / 0.6366 GB, free: 280 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.001249/0.1725, allocations: 309.3 kB / 0.6369 GB, free: 15.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.1725, allocations: 51.41 kB / 0.6369 GB, free: 15.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1726, allocations: 125.8 kB / 0.6371 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.1727, allocations: 29.7 kB / 0.6371 GB, free: 15.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.1727, allocations: 88.14 kB / 0.6372 GB, free: 15.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.1728, allocations: 15.75 kB / 0.6372 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.1729, allocations: 17.7 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.173, allocations: 318.8 kB / 0.6375 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.1734, allocations: 95.88 kB / 0.6376 GB, free: 15.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.1737, allocations: 91.88 kB / 0.6377 GB, free: 15.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.1744, allocations: 176.6 kB / 0.6378 GB, free: 14.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1744, allocations: 0 / 0.6378 GB, free: 14.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007724/0.1752, allocations: 217.4 kB / 0.6381 GB, free: 14.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1753, allocations: 4 kB / 0.6381 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1753, allocations: 0 / 0.6381 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1753, allocations: 4.328 kB / 0.6381 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.1756, allocations: 35.94 kB / 0.6381 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1756, allocations: 0 / 0.6381 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.1758, allocations: 31.89 kB / 0.6381 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1758, allocations: 0 / 0.6381 GB, free: 14.63 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 0.0001123/0.1759, allocations: 121.8 kB / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.176, allocations: 15.89 kB / 0.6383 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/0.176, allocations: 7.906 kB / 0.6383 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.176, allocations: 8 kB / 0.6383 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1761, allocations: 0 / 0.6383 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1761, allocations: 0 / 0.6383 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.1763, allocations: 209.6 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1763, allocations: 0 / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.1766, allocations: 31.94 kB / 0.6385 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1766, allocations: 4 kB / 0.6385 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1766, allocations: 4 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1766, allocations: 3.938 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1766, allocations: 0 / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.1775, allocations: 315.2 kB / 0.6388 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.1775, allocations: 77.11 kB / 0.6389 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1776, allocations: 3.984 kB / 0.6389 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.1778, allocations: 27.95 kB / 0.6389 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.1778, allocations: 4 kB / 0.6389 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1779, allocations: 4 kB / 0.6389 GB, free: 13.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.989e-05/0.1779, allocations: 95.58 kB / 0.639 GB, free: 13.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.178, allocations: 4 kB / 0.639 GB, free: 13.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.1782, allocations: 12 kB / 0.639 GB, free: 13.6 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.0001486/0.1784, allocations: 99.19 kB / 0.6391 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000817/0.1792, allocations: 203.7 kB / 0.6393 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1792, allocations: 0 / 0.6393 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.1796, allocations: 99.88 kB / 0.6394 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.1798, allocations: 3.984 kB / 0.6394 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1809, allocations: 291 kB / 0.6397 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1812, allocations: 0.6924 MB / 0.6404 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.1813, allocations: 11.44 kB / 0.6404 GB, free: 12.15 MB / 494.1 MB Notification: Performance of SimCode: time 1.703e-06/0.1813, allocations: 0 / 0.6404 GB, free: 12.15 MB / 494.1 MB Notification: Performance of Templates: time 0.00301/0.1843, allocations: 1.182 MB / 0.6415 GB, free: 10.97 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)