Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7935/0.7935, allocations: 128.7 MB / 144.5 MB, free: 1.402 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.001513/0.001514, allocations: 191.4 kB / 174.3 MB, free: 5.938 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.629/1.629, allocations: 205 MB / 408.9 MB, free: 9.691 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.001018/0.001018, allocations: 93.66 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 59.19 kB / 0.558 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1738, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002717/0.1766, allocations: 1.492 MB / 0.6331 GB, free: 31.54 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004248/0.177, allocations: 199.4 kB / 0.6333 GB, free: 31.34 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.1771, allocations: 0 / 0.6333 GB, free: 31.34 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.436e-05/0.1772, allocations: 0 / 0.6333 GB, free: 31.34 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.1772, allocations: 3.938 kB / 0.6333 GB, free: 31.34 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1775, allocations: 27.97 kB / 0.6334 GB, free: 31.31 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.781e-05/0.1776, allocations: 27.92 kB / 0.6334 GB, free: 31.28 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.1776, allocations: 7.938 kB / 0.6334 GB, free: 31.27 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.1777, allocations: 0 / 0.6334 GB, free: 31.27 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.1778, allocations: 23.91 kB / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1778, allocations: 4 kB / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.1779, allocations: 31.97 kB / 0.6334 GB, free: 31.21 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.1779, allocations: 0 / 0.6334 GB, free: 31.21 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.1779, allocations: 15.86 kB / 0.6335 GB, free: 31.2 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.178, allocations: 39.88 kB / 0.6335 GB, free: 31.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.178, allocations: 0 / 0.6335 GB, free: 31.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.178, allocations: 0 / 0.6335 GB, free: 31.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.178, allocations: 0 / 0.6335 GB, free: 31.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003637/0.1784, allocations: 347.5 kB / 0.6338 GB, free: 30.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1785, allocations: 8.031 kB / 0.6338 GB, free: 30.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.1785, allocations: 8.938 kB / 0.6338 GB, free: 30.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.391e-05/0.1786, allocations: 168.6 kB / 0.634 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1786, allocations: 384 / 0.634 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.1786, allocations: 4.375 kB / 0.634 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1788, allocations: 50.17 kB / 0.6341 GB, free: 30.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1788, allocations: 4.188 kB / 0.6341 GB, free: 30.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1788, allocations: 3.938 kB / 0.6341 GB, free: 30.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1788, allocations: 4 kB / 0.6341 GB, free: 30.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.179, allocations: 31.97 kB / 0.6341 GB, free: 30.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.1793, allocations: 249 kB / 0.6343 GB, free: 30.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.1794, allocations: 42.44 kB / 0.6344 GB, free: 30.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.1795, allocations: 28.89 kB / 0.6344 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.809e-05/0.1795, allocations: 81.11 kB / 0.6345 GB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.1796, allocations: 30.56 kB / 0.6345 GB, free: 29.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1796, allocations: 0 / 0.6345 GB, free: 29.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003205/0.1799, allocations: 85.55 kB / 0.6346 GB, free: 29.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.1799, allocations: 55.53 kB / 0.6346 GB, free: 29.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.869e-05/0.18, allocations: 101.8 kB / 0.6347 GB, free: 29.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.18, allocations: 33.64 kB / 0.6348 GB, free: 29.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.18, allocations: 80.14 kB / 0.6349 GB, free: 29.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.1801, allocations: 7.906 kB / 0.6349 GB, free: 29.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.1801, allocations: 13.72 kB / 0.6349 GB, free: 29.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.1801, allocations: 310.8 kB / 0.6352 GB, free: 29.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/0.1802, allocations: 23.97 kB / 0.6352 GB, free: 29.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.1803, allocations: 19.92 kB / 0.6352 GB, free: 29.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1804, allocations: 36.83 kB / 0.6352 GB, free: 29.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1804, allocations: 0 / 0.6352 GB, free: 29.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.1806, allocations: 73.58 kB / 0.6353 GB, free: 29.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1807, allocations: 9.969 kB / 0.6353 GB, free: 29.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1807, allocations: 0 / 0.6353 GB, free: 29.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1807, allocations: 0 / 0.6353 GB, free: 29.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.1808, allocations: 19.92 kB / 0.6353 GB, free: 29.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1808, allocations: 0 / 0.6353 GB, free: 29.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.1808, allocations: 4 kB / 0.6354 GB, free: 29.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1808, allocations: 3.984 kB / 0.6354 GB, free: 29.02 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 (2): * Single equations (assignments): 2 * 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 4.651e-05/0.1809, allocations: 113.7 kB / 0.6355 GB, free: 28.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1809, allocations: 8 kB / 0.6355 GB, free: 28.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.1811, allocations: 68.78 kB / 0.6355 GB, free: 28.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1811, allocations: 4 kB / 0.6355 GB, free: 28.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1811, allocations: 0 / 0.6355 GB, free: 28.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1811, allocations: 0 / 0.6355 GB, free: 28.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.1813, allocations: 165.5 kB / 0.6357 GB, free: 28.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1813, allocations: 256 / 0.6357 GB, free: 28.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.1813, allocations: 12 kB / 0.6357 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1813, allocations: 4.031 kB / 0.6357 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1813, allocations: 7.922 kB / 0.6357 GB, free: 28.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1813, allocations: 0 / 0.6357 GB, free: 28.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1814, allocations: 0 / 0.6357 GB, free: 28.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.1817, allocations: 0.724 MB / 0.6364 GB, free: 27.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.1818, allocations: 81.09 kB / 0.6365 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1818, allocations: 0 / 0.6365 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.1818, allocations: 4 kB / 0.6365 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1819, allocations: 7.984 kB / 0.6365 GB, free: 27.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.1819, allocations: 3.938 kB / 0.6365 GB, free: 27.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.103e-05/0.1819, allocations: 83.28 kB / 0.6366 GB, free: 27.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1819, allocations: 0 / 0.6366 GB, free: 27.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003018/0.1822, allocations: 8 kB / 0.6366 GB, free: 27.59 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 (2): * Single equations (assignments): 2 * 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.0001496/0.1824, allocations: 115.2 kB / 0.6367 GB, free: 27.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1826, allocations: 31.97 kB / 0.6367 GB, free: 27.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1826, allocations: 3.938 kB / 0.6368 GB, free: 27.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.656e-05/0.1827, allocations: 27.91 kB / 0.6368 GB, free: 27.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.183, allocations: 8.125 kB / 0.6368 GB, free: 27.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.1833, allocations: 213.9 kB / 0.637 GB, free: 27.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.1834, allocations: 0.677 MB / 0.6377 GB, free: 26.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.538e-05/0.1834, allocations: 4 kB / 0.6377 GB, free: 26.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.1835, allocations: 7.438 kB / 0.6377 GB, free: 26.43 MB / 442.7 MB Notification: Performance of SimCode: time 2e-07/0.1835, allocations: 0 / 0.6377 GB, free: 26.43 MB / 442.7 MB Notification: Performance of Templates: time 0.002562/0.186, allocations: 0.5251 MB / 0.6382 GB, free: 25.91 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)