Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001436/0.001436, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.017/1.017, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 12 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 83.41 MB / 0.5973 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001487/0.1744, allocations: 1.163 MB / 0.5984 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000767/0.1752, allocations: 0.5156 MB / 0.5989 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.1752, allocations: 0 / 0.5989 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.1753, allocations: 11.86 kB / 0.5989 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.1753, allocations: 7.984 kB / 0.5989 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1755, allocations: 31.91 kB / 0.599 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.548e-05/0.1756, allocations: 19.97 kB / 0.599 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.049e-05/0.1757, allocations: 4 kB / 0.599 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.1758, allocations: 19.92 kB / 0.599 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.032e-05/0.1758, allocations: 11.92 kB / 0.599 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.1758, allocations: 0 / 0.599 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.383e-05/0.1759, allocations: 51.89 kB / 0.5991 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.1759, allocations: 3.984 kB / 0.5991 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.176, allocations: 25.7 kB / 0.5991 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.753e-05/0.1761, allocations: 43.94 kB / 0.5991 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1761, allocations: 0 / 0.5991 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1761, allocations: 0 / 0.5991 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.1761, allocations: 4 kB / 0.5991 GB, free: 5.891 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003626/0.1765, allocations: 347.5 kB / 0.5995 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.1765, allocations: 8.031 kB / 0.5995 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.1765, allocations: 7.906 kB / 0.5995 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1767, allocations: 167 kB / 0.5996 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1767, allocations: 4 kB / 0.5996 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1767, allocations: 4 kB / 0.5997 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1768, allocations: 41.69 kB / 0.5997 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1768, allocations: 4 kB / 0.5997 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.1768, allocations: 3.984 kB / 0.5997 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1769, allocations: 0 / 0.5997 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.1769, allocations: 23.98 kB / 0.5997 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.1772, allocations: 252.9 kB / 0.6 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.338e-05/0.1773, allocations: 42.5 kB / 0.6 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007876/0.1781, allocations: 0.4897 MB / 0.6005 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.631e-05/0.1782, allocations: 30.56 kB / 0.6005 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1782, allocations: 0 / 0.6005 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002343/0.1784, allocations: 69.67 kB / 0.6006 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1785, allocations: 63.28 kB / 0.6006 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.1786, allocations: 121.7 kB / 0.6008 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1786, allocations: 25.7 kB / 0.6008 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.1786, allocations: 84.14 kB / 0.6009 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.1787, allocations: 3.906 kB / 0.6009 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.1787, allocations: 0 / 0.6009 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.1788, allocations: 323 kB / 0.6012 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.1788, allocations: 12 kB / 0.6012 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.1789, allocations: 11.98 kB / 0.6012 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.1789, allocations: 12 kB / 0.6012 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1789, allocations: 3.938 kB / 0.6012 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001171/0.179, allocations: 57.75 kB / 0.6013 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1791, allocations: 5.875 kB / 0.6013 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1791, allocations: 0 / 0.6013 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1791, allocations: 0 / 0.6013 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.1792, allocations: 15.92 kB / 0.6013 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1792, allocations: 0 / 0.6013 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.1792, allocations: 0 / 0.6013 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1792, allocations: 7.953 kB / 0.6013 GB, free: 3.379 MB / 0.4981 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.1793, allocations: 115.9 kB / 0.6014 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.1793, allocations: 7.984 kB / 0.6014 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.1795, allocations: 57.22 kB / 0.6015 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1795, allocations: 3.984 kB / 0.6015 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1795, allocations: 0 / 0.6015 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1795, allocations: 0 / 0.6015 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.1797, allocations: 165.5 kB / 0.6016 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1797, allocations: 8.031 kB / 0.6016 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.816e-05/0.1797, allocations: 15.97 kB / 0.6016 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1798, allocations: 0 / 0.6016 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1798, allocations: 3.938 kB / 0.6017 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1798, allocations: 0 / 0.6017 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1798, allocations: 0 / 0.6017 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.18, allocations: 163.5 kB / 0.6018 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.18, allocations: 77.11 kB / 0.6019 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.18, allocations: 0 / 0.6019 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.1801, allocations: 4 kB / 0.6019 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.1801, allocations: 3.938 kB / 0.6019 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.1801, allocations: 0 / 0.6019 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.1802, allocations: 91.58 kB / 0.602 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1802, allocations: 0 / 0.602 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000237/0.1804, allocations: 20.03 kB / 0.602 GB, free: 2.555 MB / 0.4981 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001479/0.1806, allocations: 107.2 kB / 0.6021 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.1807, allocations: 31.92 kB / 0.6021 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1807, allocations: 0 / 0.6021 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.738e-05/0.1808, allocations: 15.98 kB / 0.6021 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.1809, allocations: 12.02 kB / 0.6022 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.1812, allocations: 136.6 kB / 0.6023 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.1814, allocations: 0.6809 MB / 0.6029 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.1814, allocations: 8.219 kB / 0.603 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.1814, allocations: 7.438 kB / 0.603 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1814, allocations: 4 kB / 0.603 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.002539/0.184, allocations: 0.6514 MB / 0.6036 GB, free: 0.8516 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: