Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007658/0.000766, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005803/0.005803, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 275 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004442, allocations: 17.17 kB / 0.5987 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.154, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.001424/0.1554, allocations: 1.183 MB / 0.6863 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003363/0.1558, allocations: 137.3 kB / 0.6864 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.1558, allocations: 4 kB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.1559, allocations: 4.688 kB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.324e-05/0.1559, allocations: 3.984 kB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.1561, allocations: 29 kB / 0.6864 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.1562, allocations: 43.86 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.1563, allocations: 21.23 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.1563, allocations: 11.94 kB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.1564, allocations: 19.91 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.1564, allocations: 0 / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.77e-05/0.1565, allocations: 31.97 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.1565, allocations: 0 / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.1565, allocations: 49.5 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1566, allocations: 61.45 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1567, allocations: 0 / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1567, allocations: 3.984 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1567, allocations: 0 / 0.6867 GB, free: 13.48 MB / 494.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.0003971/0.1571, allocations: 358.5 kB / 0.687 GB, free: 13.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1571, allocations: 12.03 kB / 0.687 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.1583, allocations: 244.2 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1584, allocations: 168.3 kB / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1584, allocations: 384 / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1584, allocations: 12.36 kB / 0.6874 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.159, allocations: 208.5 kB / 0.6876 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.159, allocations: 192 / 0.6876 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.159, allocations: 7.938 kB / 0.6876 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1591, allocations: 4.625 kB / 0.6876 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009306/0.16, allocations: 317.6 kB / 0.688 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/0.1609, allocations: 461.3 kB / 0.6884 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.1621, allocations: 342.2 kB / 0.6887 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.1625, allocations: 120.7 kB / 0.6888 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1626, allocations: 0 / 0.6888 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.1626, allocations: 30.56 kB / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.1626, allocations: 4 kB / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.00127/0.1639, allocations: 369.2 kB / 0.6892 GB, free: 10.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.1639, allocations: 51.41 kB / 0.6893 GB, free: 10.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.164, allocations: 121.8 kB / 0.6894 GB, free: 10.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.164, allocations: 25.7 kB / 0.6894 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.1641, allocations: 96.08 kB / 0.6895 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.1641, allocations: 3.906 kB / 0.6895 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.1641, allocations: 17.72 kB / 0.6895 GB, free: 10.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1643, allocations: 318.8 kB / 0.6898 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.1647, allocations: 115.9 kB / 0.6899 GB, free: 9.941 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.1651, allocations: 111.9 kB / 0.69 GB, free: 9.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/0.1658, allocations: 209 kB / 0.6902 GB, free: 9.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1658, allocations: 4 kB / 0.6902 GB, free: 9.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008112/0.1666, allocations: 253.3 kB / 0.6905 GB, free: 9.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1667, allocations: 7.984 kB / 0.6905 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1667, allocations: 7.875 kB / 0.6905 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.1667, allocations: 4 kB / 0.6905 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.167, allocations: 43.95 kB / 0.6905 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.167, allocations: 0 / 0.6905 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.1672, allocations: 39.95 kB / 0.6906 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1672, allocations: 3.984 kB / 0.6906 GB, free: 9.262 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.256e-05/0.1673, allocations: 119.1 kB / 0.6907 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1673, allocations: 4 kB / 0.6907 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.1674, allocations: 7.891 kB / 0.6907 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1674, allocations: 4 kB / 0.6907 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1674, allocations: 0 / 0.6907 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1674, allocations: 4 kB / 0.6907 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.1676, allocations: 213.8 kB / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1676, allocations: 0 / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.1679, allocations: 39.95 kB / 0.691 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1679, allocations: 0 / 0.691 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1679, allocations: 7.984 kB / 0.691 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1679, allocations: 4 kB / 0.691 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1679, allocations: 3.938 kB / 0.691 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008581/0.1688, allocations: 351.2 kB / 0.6913 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.1689, allocations: 85.02 kB / 0.6914 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1689, allocations: 0 / 0.6914 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.1691, allocations: 39.95 kB / 0.6914 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.1692, allocations: 3.984 kB / 0.6914 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.1692, allocations: 0 / 0.6914 GB, free: 8.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.1692, allocations: 99.27 kB / 0.6915 GB, free: 8.199 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1693, allocations: 0 / 0.6915 GB, free: 8.199 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1695, allocations: 16 kB / 0.6915 GB, free: 8.184 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.0001099/0.1696, allocations: 99.19 kB / 0.6916 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008364/0.1704, allocations: 239.7 kB / 0.6919 GB, free: 7.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1705, allocations: 0 / 0.6919 GB, free: 7.844 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.1709, allocations: 115.9 kB / 0.692 GB, free: 7.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1711, allocations: 13.94 kB / 0.692 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.1721, allocations: 296.4 kB / 0.6923 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1723, allocations: 0.6965 MB / 0.693 GB, free: 6.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.062e-05/0.1724, allocations: 15.98 kB / 0.693 GB, free: 6.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.1724, allocations: 15.44 kB / 0.693 GB, free: 6.652 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1724, allocations: 0 / 0.693 GB, free: 6.652 MB / 494.1 MB Notification: Performance of Templates: time 0.002697/0.1751, allocations: 0.8335 MB / 0.6938 GB, free: 5.824 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)