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.00122/0.00122, allocations: 110.2 kB / 16.64 MB, free: 6.371 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.001017/0.001017, allocations: 197.3 kB / 17.56 MB, free: 5.797 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.355/1.355, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.743/0.743, allocations: 122.9 MB / 414.2 MB, free: 32 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 0.4912 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3346, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001795/0.3364, allocations: 0.6433 MB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3376, allocations: 1.096 MB / 0.569 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.3376, allocations: 0 / 0.569 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.3377, allocations: 0 / 0.569 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.3379, allocations: 18.14 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.596e-06/0.3379, allocations: 0 / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.779e-05/0.338, allocations: 11.38 kB / 0.5691 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.338, allocations: 6.656 kB / 0.5691 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.382e-05/0.338, allocations: 1.062 kB / 0.5691 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.159e-05/0.3381, allocations: 7.141 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.3381, allocations: 0 / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3382, allocations: 22.89 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-06/0.3382, allocations: 3.984 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.3e-05/0.3382, allocations: 1.406 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.81e-05/0.3383, allocations: 5.156 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3383, allocations: 1.969 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3383, allocations: 1.281 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3383, allocations: 3.938 kB / 0.5691 GB, free: 31.45 MB / 446.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.000242/0.3386, allocations: 320.3 kB / 0.5694 GB, free: 31.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3386, allocations: 9.844 kB / 0.5694 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.3386, allocations: 6.031 kB / 0.5694 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.473e-05/0.3387, allocations: 162.6 kB / 0.5696 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.3387, allocations: 1.562 kB / 0.5696 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3387, allocations: 2.234 kB / 0.5696 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.3388, allocations: 41.47 kB / 0.5696 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3389, allocations: 5.188 kB / 0.5696 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3389, allocations: 2.406 kB / 0.5696 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3389, allocations: 0 / 0.5696 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.723e-05/0.3389, allocations: 14.23 kB / 0.5697 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.339, allocations: 153.2 kB / 0.5698 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3392, allocations: 32.72 kB / 0.5698 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.3392, allocations: 8.828 kB / 0.5698 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.3394, allocations: 82.95 kB / 0.5699 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.3394, allocations: 37.47 kB / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.3394, allocations: 0 / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004305/0.3437, allocations: 0.5675 MB / 0.5705 GB, free: 30.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.3438, allocations: 57.45 kB / 0.5706 GB, free: 30.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.877e-05/0.3438, allocations: 93.86 kB / 0.5707 GB, free: 30.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.3438, allocations: 25.7 kB / 0.5707 GB, free: 30.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.488e-06/0.3438, allocations: 81.98 kB / 0.5708 GB, free: 30.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.3439, allocations: 19.95 kB / 0.5708 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.3439, allocations: 20.41 kB / 0.5708 GB, free: 30.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.344, allocations: 315.7 kB / 0.5711 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.3446, allocations: 83.75 kB / 0.5712 GB, free: 29.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.3452, allocations: 98.84 kB / 0.5713 GB, free: 29.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.3463, allocations: 194.2 kB / 0.5715 GB, free: 29.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3463, allocations: 0 / 0.5715 GB, free: 29.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001225/0.3476, allocations: 219.8 kB / 0.5717 GB, free: 29.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3476, allocations: 7.719 kB / 0.5717 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3476, allocations: 0 / 0.5717 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3476, allocations: 1.094 kB / 0.5717 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.348, allocations: 55.98 kB / 0.5717 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.348, allocations: 0 / 0.5717 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.3484, allocations: 41.72 kB / 0.5718 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.3484, allocations: 2.812 kB / 0.5718 GB, free: 29.69 MB / 446.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 6.579e-05/0.3485, allocations: 112.5 kB / 0.5719 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.3485, allocations: 13.31 kB / 0.5719 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.3498, allocations: 234.4 kB / 0.5721 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3498, allocations: 6.031 kB / 0.5721 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3498, allocations: 3.938 kB / 0.5721 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3499, allocations: 1.219 kB / 0.5721 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.3512, allocations: 458.7 kB / 0.5726 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3513, allocations: 0 / 0.5726 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.3516, allocations: 48.88 kB / 0.5726 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3516, allocations: 1.062 kB / 0.5726 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3517, allocations: 2.141 kB / 0.5726 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3517, allocations: 0 / 0.5726 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3517, allocations: 0.9375 kB / 0.5726 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3529, allocations: 301.8 kB / 0.5729 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.3529, allocations: 85.95 kB / 0.573 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3529, allocations: 1.281 kB / 0.573 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.3533, allocations: 40.75 kB / 0.573 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.3533, allocations: 6.281 kB / 0.573 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.3533, allocations: 2.75 kB / 0.573 GB, free: 28.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.552e-05/0.3533, allocations: 75.28 kB / 0.5731 GB, free: 28.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3533, allocations: 0 / 0.5731 GB, free: 28.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.3536, allocations: 9.312 kB / 0.5731 GB, free: 28.82 MB / 446.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.0001561/0.3538, allocations: 110.4 kB / 0.5732 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.355, allocations: 188.4 kB / 0.5734 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.355, allocations: 0 / 0.5734 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.3556, allocations: 88.45 kB / 0.5735 GB, free: 28.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.3558, allocations: 7.156 kB / 0.5735 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3569, allocations: 241.1 kB / 0.5737 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.357, allocations: 0.6754 MB / 0.5744 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.3571, allocations: 17.66 kB / 0.5744 GB, free: 27.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3571, allocations: 0 / 0.5744 GB, free: 27.83 MB / 446.1 MB Notification: Performance of Templates: time 0.002941/0.3601, allocations: 1.109 MB / 0.5755 GB, free: 27.74 MB / 446.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)