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.001482/0.001482, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001594/0.001594, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.403/1.403, 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.7593/0.7593, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 69.59 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1672, allocations: 76.17 MB / 0.6321 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001738/0.169, allocations: 0.5728 MB / 0.6327 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1705, allocations: 1.108 MB / 0.6338 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.1706, allocations: 0 / 0.6338 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.1706, allocations: 4 kB / 0.6338 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1709, allocations: 11.94 kB / 0.6338 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.957e-06/0.1709, allocations: 0 / 0.6338 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.171, allocations: 11.97 kB / 0.6338 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.1711, allocations: 4 kB / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.938e-05/0.1711, allocations: 7.875 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.392e-05/0.1711, allocations: 4 kB / 0.6338 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.1711, allocations: 3.938 kB / 0.6338 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1713, allocations: 19.98 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.1713, allocations: 4 kB / 0.6338 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.1713, allocations: 7.922 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.587e-05/0.1714, allocations: 15.92 kB / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1714, allocations: 0 / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1714, allocations: 0 / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1714, allocations: 4 kB / 0.6339 GB, free: 2.562 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.0003311/0.1718, allocations: 319.6 kB / 0.6342 GB, free: 2.203 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1718, allocations: 8.031 kB / 0.6342 GB, free: 2.195 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1719, allocations: 4.938 kB / 0.6342 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.172, allocations: 160.4 kB / 0.6343 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.172, allocations: 384 / 0.6343 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.172, allocations: 384 / 0.6343 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1721, allocations: 42 kB / 0.6344 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1722, allocations: 0 / 0.6344 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1722, allocations: 8 kB / 0.6344 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1722, allocations: 0 / 0.6344 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.1722, allocations: 11.92 kB / 0.6344 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.1724, allocations: 145.7 kB / 0.6345 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1726, allocations: 38.59 kB / 0.6346 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.1727, allocations: 8.859 kB / 0.6346 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.1729, allocations: 85.19 kB / 0.6347 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1729, allocations: 38.5 kB / 0.6347 GB, free: 1.531 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.1729, allocations: 0 / 0.6347 GB, free: 1.531 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.004281/0.1772, allocations: 0.5714 MB / 0.6352 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1772, allocations: 55.41 kB / 0.6353 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.624e-05/0.1773, allocations: 93.8 kB / 0.6354 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1773, allocations: 25.7 kB / 0.6354 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.1774, allocations: 84.14 kB / 0.6355 GB, free: 0.668 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.1774, allocations: 19.75 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.1775, allocations: 21.7 kB / 0.6355 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1776, allocations: 310.8 kB / 0.6358 GB, free: 316 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/0.1782, allocations: 83.95 kB / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/0.1788, allocations: 98.53 kB / 0.636 GB, free: 124 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.18, allocations: 198.6 kB / 0.6362 GB, free: 15.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.18, allocations: 0 / 0.6362 GB, free: 15.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001282/0.1813, allocations: 221.5 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.1813, allocations: 8 kB / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1814, allocations: 0 / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.1814, allocations: 0 / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.1818, allocations: 55.94 kB / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.1818, allocations: 0 / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.1822, allocations: 47.97 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1822, allocations: 0 / 0.6365 GB, free: 15.59 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 0.0001171/0.1823, allocations: 109.8 kB / 0.6366 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.1824, allocations: 7.844 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.1838, allocations: 245 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.1838, allocations: 0 / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1838, allocations: 0 / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1838, allocations: 3.984 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.1854, allocations: 462.3 kB / 0.6373 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1854, allocations: 0 / 0.6373 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.1858, allocations: 47.97 kB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1858, allocations: 4 kB / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1858, allocations: 0 / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1858, allocations: 4 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1858, allocations: 0 / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.1871, allocations: 303.6 kB / 0.6376 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.1872, allocations: 77.11 kB / 0.6377 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1872, allocations: 4 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.1876, allocations: 43.98 kB / 0.6378 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1876, allocations: 3.984 kB / 0.6378 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1876, allocations: 4 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.1877, allocations: 79.28 kB / 0.6378 GB, free: 14.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.1877, allocations: 3.938 kB / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1879, allocations: 11.94 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.0001934/0.1881, allocations: 99.25 kB / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.1894, allocations: 187.8 kB / 0.6381 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1894, allocations: 4.188 kB / 0.6381 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.19, allocations: 87.89 kB / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.1903, allocations: 3.938 kB / 0.6382 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1915, allocations: 224.9 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.1917, allocations: 0.6768 MB / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.1919, allocations: 28 kB / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.192, allocations: 15.42 kB / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.192, allocations: 0 / 0.6391 GB, free: 12.71 MB / 494.1 MB Notification: Performance of Templates: time 0.002825/0.1948, allocations: 0.8182 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)