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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001396/0.001401, allocations: 168.8 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4791/0.4791, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 348.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008181/0.000818, allocations: 94.44 kB / 420.2 MB, free: 9.68 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005942/0.0005942, allocations: 12 kB / 0.4901 GB, free: 8.016 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4089, allocations: 71.02 MB / 0.5595 GB, free: 43.67 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.5278, allocations: 100 MB / 0.6571 GB, free: 9.512 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.5281, allocations: 79.95 kB / 0.6572 GB, free: 9.434 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002213/0.5303, allocations: 0.8889 MB / 0.6581 GB, free: 8.547 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5303, allocations: 0 / 0.6581 GB, free: 8.547 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.5303, allocations: 0 / 0.6581 GB, free: 8.547 MB / 474.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.000251/0.5306, allocations: 319.6 kB / 0.6584 GB, free: 8.184 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5307, allocations: 8.031 kB / 0.6584 GB, free: 8.176 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.5307, allocations: 8.938 kB / 0.6584 GB, free: 8.168 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.5308, allocations: 168.3 kB / 0.6586 GB, free: 7.965 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.5308, allocations: 384 / 0.6586 GB, free: 7.965 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.5309, allocations: 384 / 0.6586 GB, free: 7.965 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.531, allocations: 38.23 kB / 0.6586 GB, free: 7.922 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.531, allocations: 192 / 0.6586 GB, free: 7.922 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.531, allocations: 3.938 kB / 0.6586 GB, free: 7.918 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.531, allocations: 4 kB / 0.6586 GB, free: 7.914 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.5311, allocations: 11.98 kB / 0.6586 GB, free: 7.902 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.5312, allocations: 149.6 kB / 0.6588 GB, free: 7.707 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.5314, allocations: 34.61 kB / 0.6588 GB, free: 7.664 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.5315, allocations: 12.86 kB / 0.6588 GB, free: 7.648 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.5316, allocations: 85.19 kB / 0.6589 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.5316, allocations: 30.56 kB / 0.6589 GB, free: 7.508 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.5317, allocations: 0 / 0.6589 GB, free: 7.508 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.003654/0.5353, allocations: 0.5714 MB / 0.6595 GB, free: 6.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/0.5354, allocations: 59.34 kB / 0.6595 GB, free: 6.859 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.563e-05/0.5354, allocations: 89.86 kB / 0.6596 GB, free: 6.762 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.5354, allocations: 25.7 kB / 0.6596 GB, free: 6.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.5355, allocations: 80.14 kB / 0.6597 GB, free: 6.648 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.5355, allocations: 15.81 kB / 0.6597 GB, free: 6.633 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-06/0.5356, allocations: 0 / 0.6597 GB, free: 6.633 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5357, allocations: 314.8 kB / 0.66 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.5362, allocations: 87.95 kB / 0.6601 GB, free: 6.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.5367, allocations: 102.5 kB / 0.6602 GB, free: 6.121 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009614/0.5377, allocations: 186.5 kB / 0.6604 GB, free: 5.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5377, allocations: 0 / 0.6604 GB, free: 5.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001068/0.5388, allocations: 209.6 kB / 0.6606 GB, free: 5.719 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.5388, allocations: 11.94 kB / 0.6606 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5388, allocations: 7.922 kB / 0.6606 GB, free: 5.699 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.5388, allocations: 0 / 0.6606 GB, free: 5.699 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.5392, allocations: 55.94 kB / 0.6607 GB, free: 5.645 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.5392, allocations: 0 / 0.6607 GB, free: 5.645 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.5395, allocations: 39.98 kB / 0.6607 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.5395, allocations: 4 kB / 0.6607 GB, free: 5.602 MB / 474.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.5396, allocations: 113.8 kB / 0.6608 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.5397, allocations: 7.922 kB / 0.6608 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.5409, allocations: 245 kB / 0.6611 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5409, allocations: 0 / 0.6611 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5409, allocations: 256 / 0.6611 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5409, allocations: 4 kB / 0.6611 GB, free: 5.219 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.5423, allocations: 458.4 kB / 0.6615 GB, free: 4.715 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5423, allocations: 4 kB / 0.6615 GB, free: 4.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.5426, allocations: 47.91 kB / 0.6616 GB, free: 4.664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.5427, allocations: 4 kB / 0.6616 GB, free: 4.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.5427, allocations: 0 / 0.6616 GB, free: 4.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5427, allocations: 0 / 0.6616 GB, free: 4.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5427, allocations: 4 kB / 0.6616 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.5438, allocations: 299.4 kB / 0.6618 GB, free: 4.348 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.5438, allocations: 77.53 kB / 0.6619 GB, free: 4.254 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.5439, allocations: 4 kB / 0.6619 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.5442, allocations: 43.97 kB / 0.662 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.5442, allocations: 4 kB / 0.662 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.5442, allocations: 4 kB / 0.662 GB, free: 4.199 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.635e-05/0.5443, allocations: 75.28 kB / 0.662 GB, free: 4.125 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5443, allocations: 0 / 0.662 GB, free: 4.125 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.5445, allocations: 16 kB / 0.6621 GB, free: 4.109 MB / 474.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 (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.0001993/0.5448, allocations: 108 kB / 0.6622 GB, free: 3.996 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.5458, allocations: 179.8 kB / 0.6623 GB, free: 3.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.5458, allocations: 4.188 kB / 0.6623 GB, free: 3.816 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.5463, allocations: 87.89 kB / 0.6624 GB, free: 3.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.5465, allocations: 11.91 kB / 0.6624 GB, free: 3.719 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.5476, allocations: 226.5 kB / 0.6627 GB, free: 3.469 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.5479, allocations: 0.6731 MB / 0.6633 GB, free: 2.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002449/0.5481, allocations: 31.98 kB / 0.6633 GB, free: 2.738 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.5482, allocations: 11.44 kB / 0.6633 GB, free: 2.727 MB / 474.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5482, allocations: 0 / 0.6633 GB, free: 2.727 MB / 474.7 MB Notification: Performance of Templates: time 0.002796/0.551, allocations: 0.7924 MB / 0.6641 GB, free: 1.945 MB / 474.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)