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.001204/0.001203, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4753/0.4753, allocations: 92 MB / 108.5 MB, free: 13.03 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.687/1.687, allocations: 223.2 MB / 354.3 MB, free: 10.48 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.001091/0.001091, allocations: 104.3 kB / 427.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 8 kB / 0.4983 GB, free: 42.08 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1617, allocations: 72.32 MB / 0.5689 GB, free: 1.691 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5554/0.7171, allocations: 101.4 MB / 0.6679 GB, free: 2.996 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.7174, allocations: 79.95 kB / 0.668 GB, free: 2.918 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002546/0.72, allocations: 0.8875 MB / 0.6689 GB, free: 2.043 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.72, allocations: 0 / 0.6689 GB, free: 2.043 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.72, allocations: 0 / 0.6689 GB, free: 2.043 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.0002989/0.7203, allocations: 319.4 kB / 0.6692 GB, free: 1.684 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.7204, allocations: 12.03 kB / 0.6692 GB, free: 1.672 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.7204, allocations: 5.453 kB / 0.6692 GB, free: 1.668 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.7205, allocations: 163 kB / 0.6693 GB, free: 1.469 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.7206, allocations: 0 / 0.6693 GB, free: 1.469 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.7206, allocations: 7.891 kB / 0.6693 GB, free: 1.461 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.7207, allocations: 41.69 kB / 0.6694 GB, free: 1.414 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.7208, allocations: 4 kB / 0.6694 GB, free: 1.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.7208, allocations: 0 / 0.6694 GB, free: 1.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.7208, allocations: 0 / 0.6694 GB, free: 1.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.163e-05/0.7208, allocations: 11.89 kB / 0.6694 GB, free: 1.398 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.721, allocations: 152.5 kB / 0.6695 GB, free: 1.203 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.7212, allocations: 36.36 kB / 0.6696 GB, free: 1.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.7214, allocations: 85.11 kB / 0.6697 GB, free: 1.059 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.7214, allocations: 30.56 kB / 0.6697 GB, free: 1.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.7214, allocations: 4 kB / 0.6697 GB, free: 1.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.004379/0.7258, allocations: 0.5599 MB / 0.6702 GB, free: 460 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.7259, allocations: 51.41 kB / 0.6703 GB, free: 396 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.024e-05/0.7259, allocations: 85 kB / 0.6704 GB, free: 304 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.726, allocations: 29.7 kB / 0.6704 GB, free: 268 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.726, allocations: 80.14 kB / 0.6705 GB, free: 184 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.7261, allocations: 19.8 kB / 0.6705 GB, free: 164 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.7261, allocations: 0 / 0.6705 GB, free: 164 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.7262, allocations: 318.8 kB / 0.6708 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/0.7268, allocations: 83.89 kB / 0.6709 GB, free: 15.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.7275, allocations: 102.5 kB / 0.671 GB, free: 15.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.7281, allocations: 87.95 kB / 0.6711 GB, free: 15.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7281, allocations: 0 / 0.6711 GB, free: 15.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001245/0.7293, allocations: 221.4 kB / 0.6713 GB, free: 15.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.7294, allocations: 8 kB / 0.6713 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.7294, allocations: 0 / 0.6713 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.7294, allocations: 0 / 0.6713 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.7298, allocations: 52 kB / 0.6713 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.7298, allocations: 0 / 0.6713 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.7302, allocations: 47.97 kB / 0.6714 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.7303, allocations: 0 / 0.6714 GB, free: 15.23 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 9.684e-05/0.7304, allocations: 121.7 kB / 0.6715 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.7304, allocations: 0 / 0.6715 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.7318, allocations: 237.1 kB / 0.6717 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7318, allocations: 4 kB / 0.6717 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7318, allocations: 0 / 0.6717 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7318, allocations: 0 / 0.6717 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.7334, allocations: 462.2 kB / 0.6722 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7334, allocations: 0 / 0.6722 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.7338, allocations: 47.97 kB / 0.6722 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7338, allocations: 0 / 0.6722 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.7338, allocations: 7.984 kB / 0.6722 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.7338, allocations: 0 / 0.6722 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7339, allocations: 4 kB / 0.6722 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.7352, allocations: 303.8 kB / 0.6725 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.7352, allocations: 85.02 kB / 0.6726 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.7352, allocations: 4 kB / 0.6726 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.7356, allocations: 35.98 kB / 0.6726 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.7356, allocations: 11.97 kB / 0.6726 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.7357, allocations: 0 / 0.6726 GB, free: 13.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.799e-05/0.7357, allocations: 75.28 kB / 0.6727 GB, free: 13.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7357, allocations: 4 kB / 0.6727 GB, free: 13.76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.7359, allocations: 19.95 kB / 0.6727 GB, free: 13.74 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.0001868/0.7361, allocations: 103.2 kB / 0.6728 GB, free: 13.63 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.7373, allocations: 179.9 kB / 0.673 GB, free: 13.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7373, allocations: 0 / 0.673 GB, free: 13.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005763/0.7379, allocations: 88.08 kB / 0.6731 GB, free: 13.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.7381, allocations: 6.234 kB / 0.6731 GB, free: 13.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.7392, allocations: 222.3 kB / 0.6733 GB, free: 13.12 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.7395, allocations: 0.6809 MB / 0.674 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.7397, allocations: 24 kB / 0.674 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.7398, allocations: 19.36 kB / 0.674 GB, free: 12.38 MB / 474.7 MB Notification: Performance of SimCode: time 3.6e-07/0.7398, allocations: 0 / 0.674 GB, free: 12.38 MB / 474.7 MB Notification: Performance of Templates: time 0.002658/0.7424, allocations: 0.7874 MB / 0.6748 GB, free: 11.6 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)