Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8709/0.8709, allocations: 128.7 MB / 144.5 MB, free: 1.344 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001742/0.001742, allocations: 187.5 kB / 174.2 MB, free: 5.918 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205 MB / 408.9 MB, free: 9.711 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009773/0.0009773, allocations: 99.36 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 56.88 kB / 0.558 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1632, allocations: 75.47 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002579/0.1658, allocations: 1.519 MB / 0.6332 GB, free: 31.5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.1662, allocations: 143.5 kB / 0.6333 GB, free: 31.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.1663, allocations: 0 / 0.6333 GB, free: 31.36 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.592e-05/0.1663, allocations: 8 kB / 0.6333 GB, free: 31.36 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.1664, allocations: 3.938 kB / 0.6333 GB, free: 31.35 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.1666, allocations: 23.97 kB / 0.6333 GB, free: 31.33 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.1667, allocations: 47.84 kB / 0.6334 GB, free: 31.28 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1668, allocations: 19.98 kB / 0.6334 GB, free: 31.26 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.1669, allocations: 15.94 kB / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.1669, allocations: 15.92 kB / 0.6334 GB, free: 31.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.167, allocations: 4 kB / 0.6334 GB, free: 31.23 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-05/0.167, allocations: 31.97 kB / 0.6335 GB, free: 31.2 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1671, allocations: 7.984 kB / 0.6335 GB, free: 31.19 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.1671, allocations: 19.86 kB / 0.6335 GB, free: 31.17 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.1672, allocations: 63.8 kB / 0.6335 GB, free: 31.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1672, allocations: 0 / 0.6335 GB, free: 31.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1672, allocations: 0 / 0.6335 GB, free: 31.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1672, allocations: 4 kB / 0.6335 GB, free: 31.1 MB / 442.7 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.0003903/0.1676, allocations: 355.7 kB / 0.6339 GB, free: 30.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1677, allocations: 12.03 kB / 0.6339 GB, free: 30.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.1687, allocations: 216.4 kB / 0.6341 GB, free: 30.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.442e-05/0.1688, allocations: 176.2 kB / 0.6343 GB, free: 30.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1688, allocations: 4.375 kB / 0.6343 GB, free: 30.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.1688, allocations: 4.375 kB / 0.6343 GB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.1694, allocations: 198 kB / 0.6345 GB, free: 30.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1694, allocations: 192 / 0.6345 GB, free: 30.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1694, allocations: 3.938 kB / 0.6345 GB, free: 30.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1694, allocations: 8 kB / 0.6345 GB, free: 30.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007699/0.1702, allocations: 275.6 kB / 0.6347 GB, free: 29.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008528/0.171, allocations: 433.1 kB / 0.6352 GB, free: 29.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.1721, allocations: 286.2 kB / 0.6354 GB, free: 29.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.1725, allocations: 100.8 kB / 0.6355 GB, free: 28.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.1725, allocations: 0 / 0.6355 GB, free: 28.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1725, allocations: 38.55 kB / 0.6356 GB, free: 28.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1725, allocations: 4 kB / 0.6356 GB, free: 28.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.001142/0.1737, allocations: 309.2 kB / 0.6359 GB, free: 28.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.1737, allocations: 55.41 kB / 0.6359 GB, free: 28.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.1738, allocations: 117.8 kB / 0.636 GB, free: 28.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1738, allocations: 25.7 kB / 0.6361 GB, free: 28.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.1739, allocations: 92.12 kB / 0.6361 GB, free: 28.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.1739, allocations: 7.906 kB / 0.6361 GB, free: 28.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.174, allocations: 13.72 kB / 0.6362 GB, free: 28.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.174, allocations: 326.8 kB / 0.6365 GB, free: 27.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.1744, allocations: 95.81 kB / 0.6366 GB, free: 27.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.1747, allocations: 96.06 kB / 0.6367 GB, free: 27.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006191/0.1753, allocations: 180.7 kB / 0.6368 GB, free: 27.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1754, allocations: 0 / 0.6368 GB, free: 27.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006894/0.1761, allocations: 217.4 kB / 0.637 GB, free: 27.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1761, allocations: 6.188 kB / 0.637 GB, free: 27.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.1761, allocations: 0 / 0.637 GB, free: 27.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1761, allocations: 0 / 0.637 GB, free: 27.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.1764, allocations: 35.94 kB / 0.6371 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1764, allocations: 384 / 0.6371 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1766, allocations: 35.89 kB / 0.6371 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1766, allocations: 0 / 0.6371 GB, free: 27.23 MB / 442.7 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.139e-05/0.1767, allocations: 121.8 kB / 0.6372 GB, free: 27.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1767, allocations: 11.84 kB / 0.6372 GB, free: 27.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.1768, allocations: 7.906 kB / 0.6372 GB, free: 27.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1768, allocations: 4 kB / 0.6373 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1768, allocations: 0 / 0.6373 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1768, allocations: 3.984 kB / 0.6373 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.177, allocations: 213.6 kB / 0.6375 GB, free: 26.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.177, allocations: 7.922 kB / 0.6375 GB, free: 26.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.1772, allocations: 31.95 kB / 0.6375 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1773, allocations: 4 kB / 0.6375 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1773, allocations: 0 / 0.6375 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1773, allocations: 3.984 kB / 0.6375 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1773, allocations: 3.984 kB / 0.6375 GB, free: 26.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.1786, allocations: 0.9735 MB / 0.6385 GB, free: 25.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.1786, allocations: 81.11 kB / 0.6385 GB, free: 25.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1787, allocations: 4 kB / 0.6385 GB, free: 25.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.1789, allocations: 39.88 kB / 0.6386 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.179, allocations: 0 / 0.6386 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.179, allocations: 0 / 0.6386 GB, free: 25.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.991e-05/0.179, allocations: 99.27 kB / 0.6387 GB, free: 25.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.179, allocations: 0 / 0.6387 GB, free: 25.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003256/0.1794, allocations: 12 kB / 0.6387 GB, free: 25.48 MB / 442.7 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.0001323/0.1795, allocations: 103.2 kB / 0.6388 GB, free: 25.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000731/0.1803, allocations: 195.7 kB / 0.639 GB, free: 25.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1803, allocations: 0 / 0.639 GB, free: 25.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.1806, allocations: 103.9 kB / 0.6391 GB, free: 25.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1809, allocations: 5.688 kB / 0.6391 GB, free: 25.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009511/0.1819, allocations: 378.7 kB / 0.6394 GB, free: 24.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.182, allocations: 0.6926 MB / 0.6401 GB, free: 23.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.582e-05/0.1821, allocations: 16 kB / 0.6401 GB, free: 23.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.1822, allocations: 15.42 kB / 0.6401 GB, free: 23.91 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1822, allocations: 0 / 0.6401 GB, free: 23.91 MB / 442.7 MB Notification: Performance of Templates: time 0.002829/0.185, allocations: 0.8645 MB / 0.641 GB, free: 23.05 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)