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.001435/0.001435, allocations: 119.8 kB / 17.09 MB, free: 5.969 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.001357/0.001357, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.733/0.733, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 68.67 kB / 0.5584 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1616, allocations: 76.19 MB / 0.6328 GB, free: 4.344 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001715/0.1634, allocations: 0.5688 MB / 0.6333 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1648, allocations: 1.104 MB / 0.6344 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.1648, allocations: 0 / 0.6344 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.1648, allocations: 0 / 0.6344 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.1651, allocations: 19.91 kB / 0.6344 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.429e-06/0.1651, allocations: 0 / 0.6344 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.952e-05/0.1652, allocations: 7.938 kB / 0.6344 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.1652, allocations: 7.984 kB / 0.6345 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.706e-05/0.1653, allocations: 3.938 kB / 0.6345 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.608e-05/0.1653, allocations: 3.984 kB / 0.6345 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.1653, allocations: 4 kB / 0.6345 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1654, allocations: 27.91 kB / 0.6345 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.1654, allocations: 7.938 kB / 0.6345 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.1655, allocations: 0 / 0.6345 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.25e-05/0.1656, allocations: 19.91 kB / 0.6345 GB, free: 2.555 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1656, allocations: 0 / 0.6345 GB, free: 2.555 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1656, allocations: 0 / 0.6345 GB, free: 2.555 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1656, allocations: 0 / 0.6345 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.0003356/0.1659, allocations: 319.6 kB / 0.6348 GB, free: 2.195 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.166, allocations: 8.031 kB / 0.6348 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.166, allocations: 4.938 kB / 0.6348 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1661, allocations: 164.4 kB / 0.635 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1661, allocations: 384 / 0.635 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.1662, allocations: 4.375 kB / 0.635 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.1663, allocations: 38 kB / 0.635 GB, free: 1.938 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1663, allocations: 3.938 kB / 0.635 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1663, allocations: 0 / 0.635 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1663, allocations: 0 / 0.635 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.1664, allocations: 8 kB / 0.635 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.1665, allocations: 153.7 kB / 0.6352 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1667, allocations: 34.61 kB / 0.6352 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.1668, allocations: 12.86 kB / 0.6352 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.1669, allocations: 77.11 kB / 0.6353 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.167, allocations: 46.52 kB / 0.6354 GB, free: 1.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.167, allocations: 0 / 0.6354 GB, free: 1.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.004107/0.1711, allocations: 0.5714 MB / 0.6359 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1711, allocations: 55.39 kB / 0.636 GB, free: 0.875 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.592e-05/0.1712, allocations: 89.86 kB / 0.6361 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.1712, allocations: 25.7 kB / 0.6361 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.1712, allocations: 84.08 kB / 0.6362 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.1713, allocations: 15.81 kB / 0.6362 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.1713, allocations: 17.7 kB / 0.6362 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1715, allocations: 318.8 kB / 0.6365 GB, free: 308 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/0.172, allocations: 79.95 kB / 0.6366 GB, free: 228 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.1726, allocations: 106.7 kB / 0.6367 GB, free: 112 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.1738, allocations: 198.4 kB / 0.6369 GB, free: 15.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1738, allocations: 0 / 0.6369 GB, free: 15.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001215/0.175, allocations: 217.5 kB / 0.6371 GB, free: 15.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.175, allocations: 4 kB / 0.6371 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.175, allocations: 0 / 0.6371 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1751, allocations: 8.031 kB / 0.6371 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.1755, allocations: 43.97 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1755, allocations: 11.94 kB / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.1758, allocations: 31.98 kB / 0.6372 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1758, allocations: 11.98 kB / 0.6372 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 9.024e-05/0.1759, allocations: 109.8 kB / 0.6373 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.176, allocations: 11.84 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.1773, allocations: 233 kB / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1773, allocations: 432 / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1773, allocations: 4 kB / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1773, allocations: 0 / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.1787, allocations: 462.3 kB / 0.638 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1787, allocations: 0 / 0.638 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.1791, allocations: 47.97 kB / 0.638 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1791, allocations: 3.984 kB / 0.638 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1792, allocations: 4 kB / 0.638 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1792, allocations: 3.984 kB / 0.638 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1792, allocations: 4 kB / 0.638 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.1804, allocations: 303.5 kB / 0.6383 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.1805, allocations: 81.09 kB / 0.6384 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1805, allocations: 4 kB / 0.6384 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.1808, allocations: 39.92 kB / 0.6384 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.1809, allocations: 4 kB / 0.6384 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1809, allocations: 3.984 kB / 0.6384 GB, free: 14.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.17e-05/0.1809, allocations: 75.28 kB / 0.6385 GB, free: 14.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1809, allocations: 3.938 kB / 0.6385 GB, free: 14.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1812, allocations: 20 kB / 0.6385 GB, free: 14.08 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.0001723/0.1814, allocations: 99.25 kB / 0.6386 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.1826, allocations: 183.8 kB / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1826, allocations: 0 / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.1832, allocations: 92.08 kB / 0.6389 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.1834, allocations: 5.875 kB / 0.6389 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1846, allocations: 250.6 kB / 0.6391 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.1848, allocations: 0.6768 MB / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.1849, allocations: 11.44 kB / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1849, allocations: 0 / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of Templates: time 0.002454/0.1874, allocations: 1.103 MB / 0.6409 GB, free: 11.61 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)