Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.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.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005651/0.005656, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001/0.001, allocations: 199 kB / 16.68 MB, free: 5.914 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.206/1.206, allocations: 205.1 MB / 222.6 MB, free: 4.355 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.374/1.374, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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: 67.91 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1828, allocations: 104.7 MB / 0.828 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002397/0.1852, allocations: 1.595 MB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007666/0.186, allocations: 0.5549 MB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.186, allocations: 7.938 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.7e-05/0.1861, allocations: 3.938 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.1862, allocations: 15.8 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.1864, allocations: 43.89 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.595e-05/0.1865, allocations: 79.77 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1866, allocations: 40.16 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.1867, allocations: 47.83 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.926e-05/0.1868, allocations: 35.84 kB / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1868, allocations: 4 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.212e-05/0.1869, allocations: 12 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.1869, allocations: 23.91 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.187, allocations: 43.73 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1871, allocations: 87.64 kB / 0.8306 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1871, allocations: 0 / 0.8306 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1871, allocations: 0 / 0.8306 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.1871, allocations: 4 kB / 0.8306 GB, free: 13.57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004602/0.1876, allocations: 407 kB / 0.831 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1876, allocations: 12.03 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.1877, allocations: 8.844 kB / 0.831 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1878, allocations: 192.1 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1878, allocations: 8.375 kB / 0.8312 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1878, allocations: 4.375 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1881, allocations: 117 kB / 0.8313 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1881, allocations: 4 kB / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1881, allocations: 0 / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1881, allocations: 0 / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.1883, allocations: 99.92 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.1888, allocations: 376.5 kB / 0.8317 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.189, allocations: 62.55 kB / 0.8318 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/0.1891, allocations: 48.95 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.1891, allocations: 7.984 kB / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.1891, allocations: 30.56 kB / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1891, allocations: 7.938 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0003956/0.1895, allocations: 161.5 kB / 0.8321 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.1896, allocations: 55.41 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/0.1897, allocations: 140.3 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1897, allocations: 25.7 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.1897, allocations: 108.1 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.1898, allocations: 23.7 kB / 0.8324 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1898, allocations: 17.72 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.1899, allocations: 322.8 kB / 0.8327 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.19, allocations: 40.22 kB / 0.8328 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.1901, allocations: 39.97 kB / 0.8328 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.1903, allocations: 92.8 kB / 0.8329 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1903, allocations: 3.938 kB / 0.8329 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002289/0.1905, allocations: 125.5 kB / 0.833 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1906, allocations: 8 kB / 0.833 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1906, allocations: 0 / 0.833 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1906, allocations: 3.984 kB / 0.833 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1907, allocations: 19.92 kB / 0.833 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1907, allocations: 0 / 0.833 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.1908, allocations: 15.94 kB / 0.833 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1908, allocations: 7.984 kB / 0.8331 GB, free: 10.8 MB / 0.6544 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 (6): * Single equations (assignments): 6 * 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.887e-05/0.1909, allocations: 117.8 kB / 0.8332 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.1909, allocations: 7.906 kB / 0.8332 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.1912, allocations: 142.2 kB / 0.8333 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1913, allocations: 3.938 kB / 0.8333 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1913, allocations: 4 kB / 0.8333 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1913, allocations: 0 / 0.8333 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.1915, allocations: 209.6 kB / 0.8335 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1915, allocations: 0 / 0.8335 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.1916, allocations: 24.2 kB / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1916, allocations: 0 / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1916, allocations: 4 kB / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1916, allocations: 3.938 kB / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1916, allocations: 4 kB / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.1919, allocations: 227.3 kB / 0.8338 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.1919, allocations: 81.02 kB / 0.8338 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1919, allocations: 4 kB / 0.8339 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.192, allocations: 11.92 kB / 0.8339 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1921, allocations: 4 kB / 0.8339 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1921, allocations: 7.984 kB / 0.8339 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.1922, allocations: 103.3 kB / 0.834 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1922, allocations: 0 / 0.834 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002206/0.1924, allocations: 23.84 kB / 0.834 GB, free: 9.742 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 (6): * Single equations (assignments): 6 * 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.0001189/0.1925, allocations: 99.25 kB / 0.8341 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.1928, allocations: 103.9 kB / 0.8342 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1928, allocations: 0 / 0.8342 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1929, allocations: 51.97 kB / 0.8342 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.1931, allocations: 15.88 kB / 0.8343 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.1935, allocations: 215.1 kB / 0.8345 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.1937, allocations: 0.6962 MB / 0.8351 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.005e-05/0.1938, allocations: 19.97 kB / 0.8352 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.1938, allocations: 11.44 kB / 0.8352 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.1938, allocations: 0 / 0.8352 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.002663/0.1965, allocations: 0.7202 MB / 0.8359 GB, free: 7.766 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)