Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.004826/0.004826, allocations: 102 kB / 15.73 MB, free: 6.035 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.001084/0.001084, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.234/1.234, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 251.7 MB / 0.5094 GB, free: 2.992 MB / 414.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.001262/0.001262, allocations: 74.09 kB / 0.7258 GB, free: 8.926 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1932, allocations: 104.7 MB / 0.8281 GB, free: 116 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001407/0.1946, allocations: 0.5903 MB / 0.8287 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1958, allocations: 1.144 MB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.1959, allocations: 3.938 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.1959, allocations: 3.938 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.1962, allocations: 27.86 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.1962, allocations: 0 / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.965e-05/0.1962, allocations: 4 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.1963, allocations: 3.984 kB / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.552e-05/0.1963, allocations: 0 / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.744e-05/0.1963, allocations: 7.984 kB / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.635e-06/0.1963, allocations: 4 kB / 0.8298 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1964, allocations: 19.92 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.243e-06/0.1965, allocations: 0 / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.1965, allocations: 3.938 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.183e-05/0.1966, allocations: 19.97 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1966, allocations: 0 / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1966, allocations: 0 / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1966, allocations: 0 / 0.8299 GB, free: 14.27 MB / 0.6544 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.000329/0.1969, allocations: 323.5 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.197, allocations: 8.031 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.197, allocations: 8.938 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.453e-05/0.1971, allocations: 164.3 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-06/0.1971, allocations: 384 / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.1971, allocations: 4.312 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1973, allocations: 42 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1973, allocations: 0 / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1973, allocations: 0 / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1973, allocations: 7.938 kB / 0.8304 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.1973, allocations: 4 kB / 0.8304 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.1975, allocations: 153.7 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1977, allocations: 34.55 kB / 0.8306 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.1977, allocations: 12.86 kB / 0.8306 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.1978, allocations: 81.11 kB / 0.8307 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1979, allocations: 38.58 kB / 0.8307 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1979, allocations: 0 / 0.8307 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.003831/0.2017, allocations: 0.5638 MB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.2018, allocations: 59.39 kB / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.2018, allocations: 89.86 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2019, allocations: 25.7 kB / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.2019, allocations: 80.14 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.2019, allocations: 19.66 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.202, allocations: 25.7 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2022, allocations: 314.8 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.2027, allocations: 79.95 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.2033, allocations: 106.5 kB / 0.832 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.2044, allocations: 198.4 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2044, allocations: 0 / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001124/0.2055, allocations: 213.5 kB / 0.8324 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2056, allocations: 8 kB / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2056, allocations: 192 / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2056, allocations: 4.031 kB / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.206, allocations: 52.39 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.206, allocations: 4 kB / 0.8325 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.2063, allocations: 35.98 kB / 0.8325 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2063, allocations: 7.984 kB / 0.8325 GB, free: 11.29 MB / 0.6544 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 7.4e-05/0.2064, allocations: 117.8 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.2064, allocations: 3.938 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.2076, allocations: 229.1 kB / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2077, allocations: 7.984 kB / 0.8329 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2077, allocations: 4 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.2077, allocations: 0 / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.2091, allocations: 458.4 kB / 0.8333 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2091, allocations: 0 / 0.8333 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.2094, allocations: 55.91 kB / 0.8334 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2095, allocations: 0 / 0.8334 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2095, allocations: 4 kB / 0.8334 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2095, allocations: 3.984 kB / 0.8334 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2095, allocations: 0 / 0.8334 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.2107, allocations: 311.2 kB / 0.8337 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.2107, allocations: 81.09 kB / 0.8338 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.2107, allocations: 0 / 0.8338 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.2111, allocations: 39.98 kB / 0.8338 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.2111, allocations: 4 kB / 0.8338 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2111, allocations: 8.172 kB / 0.8338 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.441e-05/0.2111, allocations: 75.28 kB / 0.8339 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2111, allocations: 0 / 0.8339 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002208/0.2114, allocations: 8 kB / 0.8339 GB, free: 9.797 MB / 0.6544 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.0001458/0.2115, allocations: 107.2 kB / 0.834 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.2127, allocations: 187.8 kB / 0.8342 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2127, allocations: 0 / 0.8342 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005413/0.2132, allocations: 92.08 kB / 0.8342 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.2134, allocations: 0 / 0.8342 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.2145, allocations: 221 kB / 0.8345 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.2147, allocations: 0.6805 MB / 0.8351 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001535/0.2149, allocations: 24 kB / 0.8351 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.2149, allocations: 23.31 kB / 0.8352 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.2149, allocations: 0 / 0.8352 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.002384/0.2173, allocations: 0.809 MB / 0.836 GB, free: 7.613 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)