Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.5 MB / 267.4 MB, free: 11.01 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.00116/0.00116, allocations: 176.4 kB / 326.5 MB, free: 2.641 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.723/1.723, allocations: 205 MB / 0.5766 GB, free: 20.6 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.0008459/0.0008459, allocations: 86.3 kB / 0.6803 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 13.42 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.19, allocations: 105.4 MB / 0.8967 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0008091/0.1909, allocations: 352.1 kB / 0.8971 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.351e-05/0.1909, allocations: 0 / 0.8971 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.376e-05/0.191, allocations: 4 kB / 0.8971 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.191, allocations: 0 / 0.8971 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.191, allocations: 0 / 0.8971 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.226e-05/0.1911, allocations: 0 / 0.8971 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.79e-05/0.1911, allocations: 4 kB / 0.8971 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.1912, allocations: 0 / 0.8971 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.1912, allocations: 8 kB / 0.8971 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.751e-05/0.1913, allocations: 3.938 kB / 0.8971 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1913, allocations: 0 / 0.8971 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.397e-06/0.1913, allocations: 0 / 0.8971 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.1913, allocations: 0 / 0.8971 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.1913, allocations: 0 / 0.8971 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.494e-05/0.1914, allocations: 0 / 0.8971 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1914, allocations: 0 / 0.8971 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1914, allocations: 0 / 0.8971 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1914, allocations: 0 / 0.8971 GB, free: 67.29 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.0001665/0.1916, allocations: 319.6 kB / 0.8974 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1916, allocations: 8.031 kB / 0.8974 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.1916, allocations: 4.844 kB / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.452e-05/0.1917, allocations: 164.3 kB / 0.8976 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1917, allocations: 384 / 0.8976 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1917, allocations: 8.375 kB / 0.8976 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.241e-05/0.1918, allocations: 26.27 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1918, allocations: 192 / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.1918, allocations: 3.938 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1918, allocations: 3.938 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.572e-05/0.1918, allocations: 11.98 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.388e-05/0.1919, allocations: 141.7 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.192, allocations: 22.52 kB / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.192, allocations: 16.94 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.192, allocations: 0 / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.192, allocations: 30.56 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.1921, allocations: 4 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001104/0.1922, allocations: 41.62 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.1922, allocations: 51.41 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.342e-05/0.1922, allocations: 93.8 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.1923, allocations: 25.7 kB / 0.898 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.706e-05/0.1923, allocations: 84.14 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.1923, allocations: 3.938 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.1923, allocations: 9.719 kB / 0.8981 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.1924, allocations: 315.8 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.1924, allocations: 4 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-06/0.1924, allocations: 0 / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.225e-05/0.1925, allocations: 8.859 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1925, allocations: 0 / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.899e-05/0.1925, allocations: 37.69 kB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1925, allocations: 4 kB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1925, allocations: 0 / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1926, allocations: 8.031 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.1926, allocations: 4 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1926, allocations: 3.938 kB / 0.8985 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.596e-06/0.1926, allocations: 0 / 0.8985 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.1927, allocations: 0 / 0.8985 GB, free: 65.63 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.666e-05/0.1927, allocations: 109.8 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.1927, allocations: 0 / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.553e-05/0.1927, allocations: 7.062 kB / 0.8986 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.1927, allocations: 0 / 0.8986 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1927, allocations: 4 kB / 0.8986 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1928, allocations: 3.984 kB / 0.8986 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.741e-05/0.1928, allocations: 145.7 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1928, allocations: 0 / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.1928, allocations: 4 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.1928, allocations: 0 / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.1929, allocations: 7.938 kB / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.1929, allocations: 0 / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1929, allocations: 0 / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.036e-05/0.1929, allocations: 61.12 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.1929, allocations: 81.05 kB / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.193, allocations: 7.875 kB / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-06/0.193, allocations: 0 / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.193, allocations: 0 / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.193, allocations: 3.938 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.458e-05/0.193, allocations: 83.28 kB / 0.899 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.193, allocations: 0 / 0.899 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000199/0.1932, allocations: 0 / 0.899 GB, free: 65.03 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 7.384e-05/0.1933, allocations: 99.27 kB / 0.8991 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.114e-05/0.1934, allocations: 4 kB / 0.8991 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1934, allocations: 0 / 0.8991 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.109e-06/0.1934, allocations: 4 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1935, allocations: 3.938 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001533/0.1937, allocations: 104.4 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.325e-05/0.1938, allocations: 0.681 MB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.1938, allocations: 7.438 kB / 0.8998 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of SimCode: time 4e-07/0.1938, allocations: 0 / 0.8998 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.00124/0.195, allocations: 315.9 kB / 0.9002 GB, free: 63.75 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)