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.005463/0.005463, allocations: 107.3 kB / 15.74 MB, free: 6.039 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.001339/0.001339, allocations: 195.2 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.227/1.227, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.399/1.399, allocations: 251.7 MB / 0.5094 GB, free: 3.09 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: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.181, allocations: 104.7 MB / 0.828 GB, free: 252 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00224/0.1833, allocations: 1.595 MB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.184, allocations: 0.5587 MB / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.1841, allocations: 0 / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.154e-05/0.1842, allocations: 15.86 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.298e-05/0.1842, allocations: 15.81 kB / 0.8302 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1845, allocations: 39.94 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1846, allocations: 71.78 kB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1847, allocations: 44.14 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.1848, allocations: 47.78 kB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.1849, allocations: 35.84 kB / 0.8304 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1849, allocations: 8 kB / 0.8304 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.099e-05/0.185, allocations: 11.98 kB / 0.8304 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.1851, allocations: 23.92 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.1851, allocations: 39.75 kB / 0.8305 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1852, allocations: 91.62 kB / 0.8306 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1853, allocations: 0 / 0.8306 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1853, allocations: 0 / 0.8306 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.1853, allocations: 0 / 0.8306 GB, free: 13.63 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.0005087/0.1858, allocations: 407 kB / 0.831 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1858, allocations: 12.03 kB / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.1859, allocations: 8.844 kB / 0.831 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.186, allocations: 206.7 kB / 0.8312 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1861, allocations: 4.375 kB / 0.8312 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1861, allocations: 4.375 kB / 0.8312 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1863, allocations: 117.2 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1864, allocations: 0 / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1864, allocations: 0 / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1864, allocations: 0 / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.1866, allocations: 99.94 kB / 0.8314 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.1871, allocations: 380.5 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.1873, allocations: 62.48 kB / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1874, allocations: 48.95 kB / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.1874, allocations: 11.98 kB / 0.8319 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.1875, allocations: 30.56 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1875, allocations: 0 / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004223/0.1879, allocations: 165.5 kB / 0.8321 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.1879, allocations: 51.41 kB / 0.8321 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.188, allocations: 145.5 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1881, allocations: 25.7 kB / 0.8323 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.1881, allocations: 112.1 kB / 0.8324 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1881, allocations: 11.72 kB / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.1882, allocations: 25.7 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.37e-05/0.1883, allocations: 314.8 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1884, allocations: 39.97 kB / 0.8328 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.123e-05/0.1885, allocations: 39.97 kB / 0.8328 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1887, allocations: 88.8 kB / 0.8329 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1887, allocations: 3.938 kB / 0.8329 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002459/0.1889, allocations: 125.5 kB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.189, allocations: 8 kB / 0.833 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.189, allocations: 4 kB / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.189, allocations: 0 / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1891, allocations: 23.86 kB / 0.833 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1891, allocations: 0 / 0.833 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.1892, allocations: 15.92 kB / 0.833 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.1892, allocations: 4 kB / 0.833 GB, free: 10.87 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 7.722e-05/0.1893, allocations: 121.8 kB / 0.8332 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1893, allocations: 11.84 kB / 0.8332 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.1896, allocations: 138.8 kB / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1897, allocations: 11.88 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1897, allocations: 4 kB / 0.8333 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1897, allocations: 0 / 0.8333 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.1899, allocations: 205.6 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1899, allocations: 0 / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.19, allocations: 15.98 kB / 0.8335 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.19, allocations: 0 / 0.8335 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.19, allocations: 4 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.19, allocations: 7.938 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.19, allocations: 0 / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.1903, allocations: 219.4 kB / 0.8338 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.1903, allocations: 85.02 kB / 0.8338 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1904, allocations: 0 / 0.8338 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.1905, allocations: 15.92 kB / 0.8339 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.1905, allocations: 15.92 kB / 0.8339 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1905, allocations: 0 / 0.8339 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.1906, allocations: 102.1 kB / 0.834 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1906, allocations: 0 / 0.834 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002228/0.1908, allocations: 19.91 kB / 0.834 GB, free: 9.816 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.0001281/0.191, allocations: 107.2 kB / 0.8341 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.1912, allocations: 99.94 kB / 0.8342 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1912, allocations: 0 / 0.8342 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1914, allocations: 51.91 kB / 0.8342 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.1916, allocations: 15.88 kB / 0.8342 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.1919, allocations: 219.1 kB / 0.8345 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.1922, allocations: 0.7041 MB / 0.8351 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.657e-05/0.1923, allocations: 11.98 kB / 0.8352 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.1923, allocations: 15.42 kB / 0.8352 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.1923, allocations: 4 kB / 0.8352 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of Templates: time 0.002738/0.1951, allocations: 0.7217 MB / 0.8359 GB, free: 7.82 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)