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.00592/0.00592, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.0012/0.0012, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.236/1.236, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.346/1.346, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.001336/0.001336, allocations: 75.89 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1876, allocations: 104.7 MB / 0.8281 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001529/0.1891, allocations: 0.5816 MB / 0.8287 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1904, allocations: 1.152 MB / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.1904, allocations: 3.938 kB / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.1904, allocations: 0 / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1907, allocations: 27.84 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.417e-06/0.1907, allocations: 0 / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.262e-05/0.1907, allocations: 0 / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.1907, allocations: 4 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.159e-05/0.1908, allocations: 0 / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.775e-05/0.1908, allocations: 0 / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.021e-06/0.1908, allocations: 0 / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.895e-05/0.1909, allocations: 35.91 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-06/0.1909, allocations: 3.984 kB / 0.8299 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.185e-05/0.1909, allocations: 3.938 kB / 0.8299 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 6.961e-05/0.191, allocations: 7.938 kB / 0.8299 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.191, allocations: 3.984 kB / 0.8299 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.191, allocations: 0 / 0.8299 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.191, allocations: 0 / 0.8299 GB, free: 14.38 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.0002375/0.1913, allocations: 319.5 kB / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.1913, allocations: 8.031 kB / 0.8302 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1913, allocations: 0.9375 kB / 0.8302 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.288e-05/0.1914, allocations: 168.4 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1914, allocations: 4.375 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1915, allocations: 384 / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.315e-05/0.1916, allocations: 41.95 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1916, allocations: 0 / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1916, allocations: 0 / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1916, allocations: 7.922 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.091e-05/0.1916, allocations: 4 kB / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.1918, allocations: 157.7 kB / 0.8305 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.1919, allocations: 34.58 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.1919, allocations: 16.88 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.1921, allocations: 77.11 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1921, allocations: 38.5 kB / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1921, allocations: 0 / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.003708/0.1958, allocations: 0.5719 MB / 0.8313 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.1959, allocations: 51.41 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.765e-05/0.1959, allocations: 89.86 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1959, allocations: 29.7 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.196, allocations: 88.08 kB / 0.8315 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.196, allocations: 15.83 kB / 0.8315 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.1961, allocations: 17.72 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1962, allocations: 310.8 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/0.1967, allocations: 91.94 kB / 0.8319 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.1972, allocations: 102.6 kB / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.1983, allocations: 202.4 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1983, allocations: 0 / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001086/0.1994, allocations: 209.5 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1994, allocations: 7.984 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1994, allocations: 4 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1994, allocations: 48 / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.1998, allocations: 51.98 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.1998, allocations: 4 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.2001, allocations: 39.98 kB / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2001, allocations: 4 kB / 0.8325 GB, free: 11.39 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 6.598e-05/0.2002, allocations: 113.8 kB / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.2002, allocations: 11.92 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.2014, allocations: 233.1 kB / 0.8329 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2014, allocations: 0 / 0.8329 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2014, allocations: 0 / 0.8329 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2014, allocations: 8 kB / 0.8329 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.2028, allocations: 458.3 kB / 0.8333 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2028, allocations: 0 / 0.8333 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.2031, allocations: 51.91 kB / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2031, allocations: 0 / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2031, allocations: 0 / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2031, allocations: 4 kB / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2031, allocations: 0 / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.2043, allocations: 311.6 kB / 0.8337 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.2043, allocations: 81.11 kB / 0.8337 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.2043, allocations: 4 kB / 0.8337 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.2047, allocations: 39.97 kB / 0.8338 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.2047, allocations: 4 kB / 0.8338 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2047, allocations: 0 / 0.8338 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.209e-05/0.2047, allocations: 75.28 kB / 0.8339 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2047, allocations: 0 / 0.8339 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002307/0.205, allocations: 12 kB / 0.8339 GB, free: 9.906 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.000148/0.2051, allocations: 115.2 kB / 0.834 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.2063, allocations: 183.8 kB / 0.8342 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2063, allocations: 0 / 0.8342 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000526/0.2068, allocations: 92.06 kB / 0.8342 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.207, allocations: 7.938 kB / 0.8343 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009755/0.208, allocations: 212.9 kB / 0.8345 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.2082, allocations: 0.6805 MB / 0.8351 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.2083, allocations: 31.97 kB / 0.8351 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.2084, allocations: 11.44 kB / 0.8352 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2084, allocations: 4 kB / 0.8352 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of Templates: time 0.002509/0.2109, allocations: 0.8164 MB / 0.836 GB, free: 7.711 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)