Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.542/1.542, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 173.9 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007687/0.0007686, allocations: 86.84 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003339, allocations: 12.12 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1871, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006568/0.1878, allocations: 331.3 kB / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002431/0.188, allocations: 55.8 kB / 0.8971 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.288e-06/0.1881, allocations: 0 / 0.8971 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.1881, allocations: 0 / 0.8971 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-06/0.1881, allocations: 0 / 0.8971 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.1883, allocations: 11.98 kB / 0.8971 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.279e-05/0.1883, allocations: 0 / 0.8971 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.1884, allocations: 0 / 0.8971 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.45e-05/0.1884, allocations: 7.938 kB / 0.8971 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.053e-05/0.1884, allocations: 3.984 kB / 0.8971 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.1884, allocations: 4 kB / 0.8971 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1886, allocations: 19.97 kB / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.1886, allocations: 8 kB / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.1886, allocations: 0 / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.842e-05/0.1887, allocations: 11.92 kB / 0.8972 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1887, allocations: 3.938 kB / 0.8972 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1887, allocations: 0 / 0.8972 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.1887, allocations: 0 / 0.8972 GB, free: 67.69 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000182/0.1889, allocations: 311.9 kB / 0.8975 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1889, allocations: 8.031 kB / 0.8975 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.1892, allocations: 24.81 kB / 0.8975 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.542e-05/0.1892, allocations: 164.4 kB / 0.8977 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1893, allocations: 384 / 0.8977 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.1893, allocations: 4.375 kB / 0.8977 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1894, allocations: 38.25 kB / 0.8977 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1894, allocations: 192 / 0.8977 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1894, allocations: 3.938 kB / 0.8977 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1894, allocations: 4 kB / 0.8977 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.66e-05/0.1895, allocations: 7.984 kB / 0.8977 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.886e-05/0.1896, allocations: 149.6 kB / 0.8979 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.241e-05/0.1897, allocations: 26.53 kB / 0.8979 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.1897, allocations: 8.859 kB / 0.8979 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1898, allocations: 4.062 kB / 0.8979 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.1898, allocations: 38.56 kB / 0.8979 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1898, allocations: 3.938 kB / 0.898 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002049/0.19, allocations: 53.55 kB / 0.898 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.19, allocations: 51.41 kB / 0.8981 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.884e-05/0.1901, allocations: 89.86 kB / 0.8981 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.1901, allocations: 25.7 kB / 0.8982 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.153e-05/0.1901, allocations: 84.27 kB / 0.8982 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1901, allocations: 0 / 0.8982 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.1902, allocations: 13.72 kB / 0.8983 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.1902, allocations: 314.8 kB / 0.8986 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/0.1903, allocations: 4 kB / 0.8986 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.1903, allocations: 7.984 kB / 0.8986 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.863e-05/0.1904, allocations: 20.91 kB / 0.8986 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1904, allocations: 0 / 0.8986 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.956e-05/0.1905, allocations: 41.62 kB / 0.8986 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1905, allocations: 4 kB / 0.8986 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1905, allocations: 0 / 0.8986 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1905, allocations: 7.938 kB / 0.8986 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.1906, allocations: 0 / 0.8986 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1906, allocations: 0 / 0.8986 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.1907, allocations: 7.984 kB / 0.8986 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1907, allocations: 4.031 kB / 0.8987 GB, free: 65.97 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 4.155e-05/0.1907, allocations: 109.8 kB / 0.8988 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-06/0.1907, allocations: 3.938 kB / 0.8988 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.1908, allocations: 11.06 kB / 0.8988 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1908, allocations: 0 / 0.8988 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1908, allocations: 0 / 0.8988 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1908, allocations: 0 / 0.8988 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.036e-05/0.1908, allocations: 145.7 kB / 0.8989 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1908, allocations: 4 kB / 0.8989 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.1909, allocations: 4 kB / 0.8989 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1909, allocations: 3.984 kB / 0.8989 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.1909, allocations: 3.938 kB / 0.8989 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1909, allocations: 3.984 kB / 0.8989 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1909, allocations: 0 / 0.8989 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.191, allocations: 69.81 kB / 0.899 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.1911, allocations: 81.14 kB / 0.8991 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.1911, allocations: 7.875 kB / 0.8991 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.93e-05/0.1911, allocations: 7.984 kB / 0.8991 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.1911, allocations: 0 / 0.8991 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1911, allocations: 0 / 0.8991 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.19e-05/0.1911, allocations: 75.28 kB / 0.8992 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.1911, allocations: 0 / 0.8992 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001773/0.1913, allocations: 4 kB / 0.8992 GB, free: 65.35 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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 9.264e-05/0.1914, allocations: 99.25 kB / 0.8993 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.1916, allocations: 15.98 kB / 0.8993 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1916, allocations: 0 / 0.8993 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.1916, allocations: 11.92 kB / 0.8993 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.1917, allocations: 1.266 kB / 0.8993 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001986/0.1919, allocations: 108.5 kB / 0.8994 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.703e-05/0.192, allocations: 0.6731 MB / 0.9 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.1921, allocations: 7.438 kB / 0.9001 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.1921, allocations: 0 / 0.9001 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.001284/0.1934, allocations: 387.6 kB / 0.9004 GB, free: 63.99 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)