Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009972, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 197.9 kB / 16.64 MB, free: 6.453 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.263/1.263, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.624/1.624, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.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.001429/0.001429, allocations: 73.81 kB / 0.6723 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1853, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001631/0.1869, allocations: 0.5859 MB / 0.7847 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002487/0.1872, allocations: 35.86 kB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.1872, allocations: 0 / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.1873, allocations: 0 / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.1873, allocations: 4 kB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.1875, allocations: 15.92 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.379e-05/0.1876, allocations: 0 / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.1876, allocations: 4 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.112e-05/0.1877, allocations: 4 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.556e-05/0.1877, allocations: 7.938 kB / 0.7848 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1877, allocations: 7.984 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.1878, allocations: 15.98 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.1878, allocations: 0 / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1878, allocations: 15.92 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.052e-05/0.1879, allocations: 19.92 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1879, allocations: 0 / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1879, allocations: 0 / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.188, allocations: 0 / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00028/0.1882, allocations: 349.3 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.1883, allocations: 16.03 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.1883, allocations: 8.781 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.139e-05/0.1884, allocations: 168.3 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1884, allocations: 384 / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.1884, allocations: 4.375 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1885, allocations: 58.23 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.1885, allocations: 192 / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1886, allocations: 3.938 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.1886, allocations: 11.98 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.476e-05/0.1886, allocations: 23.98 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.1889, allocations: 268.8 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.97e-05/0.189, allocations: 22.52 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.189, allocations: 12.92 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.189, allocations: 0 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.189, allocations: 34.56 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.189, allocations: 0 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.1892, allocations: 71.39 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1892, allocations: 81.05 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.1893, allocations: 113.8 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1893, allocations: 25.7 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.1894, allocations: 103.8 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.1894, allocations: 3.906 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1894, allocations: 25.72 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.1895, allocations: 322.9 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.1896, allocations: 7.984 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/0.1896, allocations: 58.94 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.121e-05/0.1897, allocations: 138.1 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1897, allocations: 0 / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000132/0.1898, allocations: 123.2 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.1899, allocations: 33.7 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1899, allocations: 0 / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1899, allocations: 4 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-05/0.19, allocations: 11.98 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.19, allocations: 4 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.19, allocations: 11.84 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1901, allocations: 4 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.177e-05/0.1902, allocations: 159.7 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.1902, allocations: 0 / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.1902, allocations: 11.52 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.1902, allocations: 0 / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1902, allocations: 0 / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.1902, allocations: 0 / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.1903, allocations: 161.6 kB / 0.7872 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1904, allocations: 3.938 kB / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1904, allocations: 0 / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1904, allocations: 0 / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1904, allocations: 8 kB / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1904, allocations: 0 / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1904, allocations: 0 / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.1905, allocations: 169.1 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.1905, allocations: 77.11 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.1906, allocations: 3.938 kB / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.293e-05/0.1906, allocations: 4 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.1906, allocations: 4.031 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.1906, allocations: 3.984 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.1907, allocations: 87.75 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1907, allocations: 0 / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000243/0.1909, allocations: 15.94 kB / 0.7876 GB, free: 8.797 MB / 0.6075 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001331/0.1911, allocations: 107.2 kB / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.1912, allocations: 87.77 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1912, allocations: 0 / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.1912, allocations: 59.34 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.1915, allocations: 8 kB / 0.7878 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001814/0.1916, allocations: 104.9 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.1918, allocations: 0.6806 MB / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.51e-05/0.1919, allocations: 20.09 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.144e-05/0.1919, allocations: 11.44 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1919, allocations: 0 / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of Templates: time 0.002184/0.1941, allocations: 0.5113 MB / 0.7891 GB, free: 7.133 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)