Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009543/0.0009543, allocations: 107.2 kB / 16.41 MB, free: 6.414 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.001106/0.001106, allocations: 195.8 kB / 17.34 MB, free: 5.73 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7025/0.7025, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 65.77 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1648, allocations: 76.18 MB / 0.6321 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00176/0.1666, allocations: 0.5827 MB / 0.6327 GB, free: 3.773 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1682, allocations: 1.104 MB / 0.6338 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.1682, allocations: 4 kB / 0.6338 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.1683, allocations: 4 kB / 0.6338 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.1685, allocations: 15.91 kB / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.345e-05/0.1685, allocations: 4 kB / 0.6338 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.706e-05/0.1686, allocations: 4 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.1686, allocations: 0 / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.1687, allocations: 7.938 kB / 0.6338 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.316e-05/0.1687, allocations: 3.938 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-06/0.1687, allocations: 0 / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1688, allocations: 19.97 kB / 0.6338 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.347e-06/0.1688, allocations: 3.984 kB / 0.6338 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.1689, allocations: 4 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.363e-05/0.169, allocations: 23.92 kB / 0.6339 GB, free: 2.559 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.169, allocations: 3.938 kB / 0.6339 GB, free: 2.555 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.169, allocations: 0 / 0.6339 GB, free: 2.555 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.169, allocations: 0 / 0.6339 GB, free: 2.555 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000288/0.1693, allocations: 311.6 kB / 0.6342 GB, free: 2.203 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1693, allocations: 8.031 kB / 0.6342 GB, free: 2.195 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.1694, allocations: 4.938 kB / 0.6342 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1695, allocations: 168.4 kB / 0.6343 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1695, allocations: 4.375 kB / 0.6343 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.1695, allocations: 4.375 kB / 0.6343 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.1697, allocations: 34.02 kB / 0.6344 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1697, allocations: 3.938 kB / 0.6344 GB, free: 1.938 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1697, allocations: 7.984 kB / 0.6344 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1697, allocations: 0 / 0.6344 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.915e-05/0.1698, allocations: 8 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.1699, allocations: 149.7 kB / 0.6345 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1701, allocations: 34.58 kB / 0.6346 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.1702, allocations: 16.94 kB / 0.6346 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.1703, allocations: 81.11 kB / 0.6347 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1703, allocations: 34.5 kB / 0.6347 GB, free: 1.523 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1703, allocations: 0 / 0.6347 GB, free: 1.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.00415/0.1745, allocations: 0.5756 MB / 0.6353 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1746, allocations: 59.41 kB / 0.6353 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.327e-05/0.1746, allocations: 89.86 kB / 0.6354 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1746, allocations: 25.7 kB / 0.6354 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.1747, allocations: 88.06 kB / 0.6355 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.1747, allocations: 19.8 kB / 0.6355 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.1748, allocations: 13.72 kB / 0.6355 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1749, allocations: 322.8 kB / 0.6358 GB, free: 296 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/0.1755, allocations: 83.95 kB / 0.6359 GB, free: 212 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.1761, allocations: 102.5 kB / 0.636 GB, free: 100 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.1772, allocations: 190.5 kB / 0.6362 GB, free: 15.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1773, allocations: 0 / 0.6362 GB, free: 15.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001271/0.1785, allocations: 217.5 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1786, allocations: 8 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1786, allocations: 3.938 kB / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1786, allocations: 0 / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.179, allocations: 52 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.179, allocations: 0 / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.1794, allocations: 39.98 kB / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1794, allocations: 0 / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.374e-05/0.1795, allocations: 117.8 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1795, allocations: 11.84 kB / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.1808, allocations: 237 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1808, allocations: 0 / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1809, allocations: 0 / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1809, allocations: 256 / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.1824, allocations: 462.4 kB / 0.6373 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1824, allocations: 0 / 0.6373 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.1828, allocations: 51.91 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1828, allocations: 4 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1828, allocations: 4 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1828, allocations: 0 / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1828, allocations: 3.938 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.1841, allocations: 307.4 kB / 0.6377 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.1841, allocations: 77.11 kB / 0.6377 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1842, allocations: 0 / 0.6377 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.1845, allocations: 43.97 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.1845, allocations: 0 / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1846, allocations: 4 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.473e-05/0.1846, allocations: 75.28 kB / 0.6378 GB, free: 14.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1846, allocations: 3.938 kB / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1848, allocations: 12 kB / 0.6379 GB, free: 14.09 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 (5): * Single equations (assignments): 5 * 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.0001506/0.185, allocations: 107.2 kB / 0.638 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.1862, allocations: 183.9 kB / 0.6381 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1862, allocations: 0 / 0.6381 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005752/0.1868, allocations: 100 kB / 0.6382 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.187, allocations: 1.406 kB / 0.6382 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1881, allocations: 212.9 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1883, allocations: 0.6729 MB / 0.6391 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.1885, allocations: 31.98 kB / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.1886, allocations: 15.44 kB / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1886, allocations: 0 / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of Templates: time 0.002856/0.1915, allocations: 0.8156 MB / 0.6399 GB, free: 11.9 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)