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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009989/0.0009989, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5022/0.5022, allocations: 90.92 MB / 99.35 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 221.5 MB / 343.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009108/0.0009108, allocations: 97.59 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.429e-05/1.431e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 72.33 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4262/0.5432, allocations: 100.7 MB / 0.6519 GB, free: 9.594 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001783/0.5434, allocations: 79.39 kB / 0.6519 GB, free: 9.551 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002084/0.5455, allocations: 0.8711 MB / 0.6528 GB, free: 8.801 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5455, allocations: 0 / 0.6528 GB, free: 8.801 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.5455, allocations: 0 / 0.6528 GB, free: 8.801 MB / 458.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.0001909/0.5457, allocations: 317.6 kB / 0.6531 GB, free: 8.449 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.5458, allocations: 12.03 kB / 0.6531 GB, free: 8.438 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.5458, allocations: 8.578 kB / 0.6531 GB, free: 8.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.563e-05/0.5459, allocations: 163 kB / 0.6533 GB, free: 8.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.5459, allocations: 0 / 0.6533 GB, free: 8.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.5459, allocations: 7.906 kB / 0.6533 GB, free: 8.223 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.708e-05/0.546, allocations: 4 kB / 0.6533 GB, free: 8.219 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.037e-05/0.546, allocations: 36.44 kB / 0.6533 GB, free: 8.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5461, allocations: 4 kB / 0.6533 GB, free: 8.176 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.5461, allocations: 3.984 kB / 0.6533 GB, free: 8.172 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5461, allocations: 3.953 kB / 0.6533 GB, free: 8.168 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.5462, allocations: 125 kB / 0.6535 GB, free: 8.012 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.5463, allocations: 37.92 kB / 0.6535 GB, free: 7.969 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.5464, allocations: 8.859 kB / 0.6535 GB, free: 7.957 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.5465, allocations: 85.19 kB / 0.6536 GB, free: 7.855 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.5465, allocations: 34.12 kB / 0.6536 GB, free: 7.816 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.5465, allocations: 0 / 0.6536 GB, free: 7.816 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.002486/0.549, allocations: 356.2 kB / 0.6539 GB, free: 7.469 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.549, allocations: 51.41 kB / 0.654 GB, free: 7.406 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.177e-05/0.5491, allocations: 85 kB / 0.6541 GB, free: 7.316 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.5491, allocations: 25.7 kB / 0.6541 GB, free: 7.285 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.5491, allocations: 80.14 kB / 0.6542 GB, free: 7.203 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.5492, allocations: 15.25 kB / 0.6542 GB, free: 7.191 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.5492, allocations: 0 / 0.6542 GB, free: 7.191 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5493, allocations: 322.8 kB / 0.6545 GB, free: 6.867 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.5493, allocations: 8 kB / 0.6545 GB, free: 6.859 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.5494, allocations: 26.39 kB / 0.6545 GB, free: 6.828 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.5495, allocations: 19.86 kB / 0.6546 GB, free: 6.812 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5495, allocations: 0 / 0.6546 GB, free: 6.812 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001808/0.5497, allocations: 72.27 kB / 0.6546 GB, free: 6.738 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.5497, allocations: 4 kB / 0.6546 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5497, allocations: 4 kB / 0.6546 GB, free: 6.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.5497, allocations: 7.922 kB / 0.6546 GB, free: 6.723 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.5501, allocations: 51.31 kB / 0.6547 GB, free: 6.676 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.5501, allocations: 4 kB / 0.6547 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.5505, allocations: 35.98 kB / 0.6547 GB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.5505, allocations: 7.938 kB / 0.6547 GB, free: 6.629 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.954e-05/0.5506, allocations: 108.9 kB / 0.6548 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.5506, allocations: 4 kB / 0.6548 GB, free: 6.512 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.5509, allocations: 92.11 kB / 0.6549 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5509, allocations: 4 kB / 0.6549 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5509, allocations: 0 / 0.6549 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5509, allocations: 0 / 0.6549 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.5513, allocations: 284.5 kB / 0.6552 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5513, allocations: 0 / 0.6552 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.5517, allocations: 53.28 kB / 0.6553 GB, free: 6.055 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5517, allocations: 4 kB / 0.6553 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5517, allocations: 3.984 kB / 0.6553 GB, free: 6.047 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5517, allocations: 0 / 0.6553 GB, free: 6.047 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5517, allocations: 0 / 0.6553 GB, free: 6.047 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.5519, allocations: 161.6 kB / 0.6554 GB, free: 5.879 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.552, allocations: 81.02 kB / 0.6555 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.552, allocations: 0.6875 kB / 0.6555 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.5524, allocations: 43.97 kB / 0.6555 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.5524, allocations: 0 / 0.6555 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.5524, allocations: 4 kB / 0.6555 GB, free: 5.734 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.327e-05/0.5525, allocations: 78.59 kB / 0.6556 GB, free: 5.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5525, allocations: 0 / 0.6556 GB, free: 5.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.5527, allocations: 8 kB / 0.6556 GB, free: 5.652 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.5529, allocations: 101 kB / 0.6557 GB, free: 5.547 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.553, allocations: 35.11 kB / 0.6558 GB, free: 5.516 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.553, allocations: 0 / 0.6558 GB, free: 5.516 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.553, allocations: 11.5 kB / 0.6558 GB, free: 5.508 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.5532, allocations: 7.938 kB / 0.6558 GB, free: 5.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.5537, allocations: 107.3 kB / 0.6559 GB, free: 5.375 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.5539, allocations: 0.6768 MB / 0.6565 GB, free: 4.672 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.5541, allocations: 32.12 kB / 0.6566 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.5542, allocations: 11.44 kB / 0.6566 GB, free: 4.629 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5542, allocations: 0 / 0.6566 GB, free: 4.629 MB / 458.7 MB Notification: Performance of Templates: time 0.00221/0.5564, allocations: 0.7852 MB / 0.6573 GB, free: 3.852 MB / 458.7 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)