Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007366/0.0007366, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004916/0.004916, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004712, allocations: 13.88 kB / 0.6743 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2171, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006937/0.2178, allocations: 327.5 kB / 0.7882 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2193, allocations: 1.133 MB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.212e-05/0.2193, allocations: 0 / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.016e-05/0.2194, allocations: 0 / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.2196, allocations: 19.97 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.414e-06/0.2196, allocations: 4 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.027e-05/0.2196, allocations: 3.938 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.2197, allocations: 0 / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.39e-05/0.2197, allocations: 4 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.191e-05/0.2197, allocations: 7.938 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.792e-06/0.2197, allocations: 0 / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.2198, allocations: 15.98 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.093e-06/0.2198, allocations: 7.922 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.2199, allocations: 29.69 kB / 0.7894 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.353e-05/0.2199, allocations: 8 kB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2199, allocations: 3.938 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.22, allocations: 4 kB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.22, allocations: 0 / 0.7894 GB, free: 9.988 MB / 0.6075 GB 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.0002173/0.2202, allocations: 319.6 kB / 0.7897 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2202, allocations: 8.031 kB / 0.7897 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.2203, allocations: 4.922 kB / 0.7897 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.383e-05/0.2203, allocations: 160.4 kB / 0.7899 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.2204, allocations: 384 / 0.7899 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.2204, allocations: 8.359 kB / 0.7899 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.718e-05/0.2205, allocations: 38.02 kB / 0.7899 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2205, allocations: 4 kB / 0.7899 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2205, allocations: 0 / 0.7899 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2205, allocations: 3.938 kB / 0.7899 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.096e-05/0.2206, allocations: 7.984 kB / 0.7899 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.2207, allocations: 153.9 kB / 0.7901 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.2209, allocations: 34.61 kB / 0.7901 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.2209, allocations: 8.859 kB / 0.7901 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.221, allocations: 85.19 kB / 0.7902 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.2211, allocations: 38.5 kB / 0.7903 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2211, allocations: 3.938 kB / 0.7903 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.004113/0.2252, allocations: 0.5715 MB / 0.7908 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.2253, allocations: 51.41 kB / 0.7909 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.329e-05/0.2254, allocations: 93.8 kB / 0.791 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.2254, allocations: 25.7 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.2255, allocations: 84.14 kB / 0.7911 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.2255, allocations: 19.8 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.2256, allocations: 9.719 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2257, allocations: 314.8 kB / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.2263, allocations: 79.95 kB / 0.7915 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/0.2269, allocations: 102.5 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.2281, allocations: 194.4 kB / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2281, allocations: 0 / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001233/0.2293, allocations: 217.5 kB / 0.792 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2294, allocations: 4 kB / 0.792 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2294, allocations: 4.062 kB / 0.792 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2294, allocations: 7.938 kB / 0.792 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.2298, allocations: 43.97 kB / 0.792 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2298, allocations: 4 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.2302, allocations: 39.97 kB / 0.7921 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2302, allocations: 8 kB / 0.7921 GB, free: 7.023 MB / 0.6075 GB 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.218e-05/0.2303, allocations: 109.8 kB / 0.7922 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.2303, allocations: 7.844 kB / 0.7922 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.2317, allocations: 237 kB / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2317, allocations: 0 / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2317, allocations: 0 / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.2317, allocations: 4.422 kB / 0.7924 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.2332, allocations: 458.6 kB / 0.7928 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2332, allocations: 0 / 0.7928 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.2336, allocations: 51.97 kB / 0.7929 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2336, allocations: 0 / 0.7929 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2336, allocations: 7.984 kB / 0.7929 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2337, allocations: 0 / 0.7929 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2337, allocations: 3.984 kB / 0.7929 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.2349, allocations: 307.4 kB / 0.7932 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.235, allocations: 77.11 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.235, allocations: 0 / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.2354, allocations: 39.98 kB / 0.7933 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.2354, allocations: 7.922 kB / 0.7933 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2354, allocations: 4 kB / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.2354, allocations: 79.31 kB / 0.7934 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2354, allocations: 0 / 0.7934 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002435/0.2357, allocations: 12 kB / 0.7934 GB, free: 5.535 MB / 0.6075 GB 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.0001714/0.2359, allocations: 111.2 kB / 0.7935 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.2371, allocations: 179.9 kB / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2371, allocations: 3.938 kB / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006041/0.2377, allocations: 96.02 kB / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.238, allocations: 2.812 kB / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.2391, allocations: 223.3 kB / 0.794 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.2393, allocations: 0.6809 MB / 0.7947 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.2395, allocations: 24 kB / 0.7947 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.2396, allocations: 15.44 kB / 0.7947 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.2396, allocations: 0 / 0.7947 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of Templates: time 0.002882/0.2425, allocations: 0.7996 MB / 0.7955 GB, free: 3.355 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) Environment - environmentSimulation: