Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.005622/0.005622, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.00114/0.00114, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.533/1.533, allocations: 205.1 MB / 222.6 MB, free: 4.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5834/0.5834, allocations: 95.48 MB / 365.4 MB, free: 9.699 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 79.83 kB / 0.5036 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1866, allocations: 69.09 MB / 0.5711 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001866/0.1886, allocations: 0.5514 MB / 0.5716 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000277/0.1889, allocations: 31.88 kB / 0.5717 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.1889, allocations: 0 / 0.5717 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.513e-05/0.1889, allocations: 7.875 kB / 0.5717 GB, free: 7.703 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.06e-05/0.189, allocations: 4 kB / 0.5717 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.1892, allocations: 11.98 kB / 0.5717 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.648e-05/0.1893, allocations: 4 kB / 0.5717 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.1894, allocations: 0 / 0.5717 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.352e-05/0.1894, allocations: 4 kB / 0.5717 GB, free: 7.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.1895, allocations: 4 kB / 0.5717 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1895, allocations: 0 / 0.5717 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.1896, allocations: 15.98 kB / 0.5717 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.1896, allocations: 15.91 kB / 0.5717 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.1897, allocations: 3.938 kB / 0.5717 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.1898, allocations: 27.98 kB / 0.5718 GB, free: 7.613 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1898, allocations: 0 / 0.5718 GB, free: 7.613 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1898, allocations: 0 / 0.5718 GB, free: 7.613 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1898, allocations: 0 / 0.5718 GB, free: 7.613 MB / 446.1 MB 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.0004007/0.1902, allocations: 357.2 kB / 0.5721 GB, free: 7.211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1903, allocations: 11.98 kB / 0.5721 GB, free: 7.199 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.1903, allocations: 4.938 kB / 0.5721 GB, free: 7.195 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.1904, allocations: 164.3 kB / 0.5723 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1904, allocations: 3.938 kB / 0.5723 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.1904, allocations: 4 kB / 0.5723 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1906, allocations: 57.67 kB / 0.5723 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1906, allocations: 8 kB / 0.5723 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1906, allocations: 0 / 0.5723 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.1907, allocations: 7.984 kB / 0.5724 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/0.1907, allocations: 27.92 kB / 0.5724 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.1911, allocations: 264.8 kB / 0.5726 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.1912, allocations: 22.58 kB / 0.5727 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.1912, allocations: 8.922 kB / 0.5727 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-06/0.1912, allocations: 0 / 0.5727 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1912, allocations: 30.56 kB / 0.5727 GB, free: 6.492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1912, allocations: 0 / 0.5727 GB, free: 6.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001872/0.1914, allocations: 79.17 kB / 0.5728 GB, free: 6.402 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.1915, allocations: 81.11 kB / 0.5728 GB, free: 6.305 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.1916, allocations: 114 kB / 0.573 GB, free: 6.184 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1916, allocations: 29.7 kB / 0.573 GB, free: 6.148 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.1917, allocations: 103.8 kB / 0.5731 GB, free: 6.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.535e-06/0.1917, allocations: 0 / 0.5731 GB, free: 6.043 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1917, allocations: 25.62 kB / 0.5731 GB, free: 6.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1918, allocations: 318.8 kB / 0.5734 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.1919, allocations: 8 kB / 0.5734 GB, free: 5.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.677e-05/0.1919, allocations: 67.14 kB / 0.5735 GB, free: 5.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.192, allocations: 134.1 kB / 0.5736 GB, free: 5.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1921, allocations: 0 / 0.5736 GB, free: 5.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001918/0.1923, allocations: 119.2 kB / 0.5737 GB, free: 5.297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.1923, allocations: 29.7 kB / 0.5738 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1923, allocations: 8.25 kB / 0.5738 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.1924, allocations: 3.938 kB / 0.5738 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1925, allocations: 19.98 kB / 0.5738 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.1925, allocations: 7.938 kB / 0.5738 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.231e-05/0.1926, allocations: 11.84 kB / 0.5738 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.1926, allocations: 4 kB / 0.5738 GB, free: 5.207 MB / 446.1 MB 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 0.0001309/0.1928, allocations: 143.5 kB / 0.5739 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.1928, allocations: 4 kB / 0.5739 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.1928, allocations: 15.36 kB / 0.574 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1928, allocations: 4 kB / 0.574 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1928, allocations: 0 / 0.574 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1929, allocations: 0 / 0.574 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.193, allocations: 157.7 kB / 0.5741 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.193, allocations: 0 / 0.5741 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.193, allocations: 0 / 0.5741 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.193, allocations: 3.984 kB / 0.5741 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.193, allocations: 3.938 kB / 0.5741 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1931, allocations: 0 / 0.5741 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1931, allocations: 0 / 0.5741 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.1932, allocations: 169.2 kB / 0.5743 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1932, allocations: 85.02 kB / 0.5744 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1932, allocations: 3.938 kB / 0.5744 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.1933, allocations: 7.984 kB / 0.5744 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.1933, allocations: 4 kB / 0.5744 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1933, allocations: 0 / 0.5744 GB, free: 4.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.295e-05/0.1934, allocations: 87.36 kB / 0.5745 GB, free: 4.422 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1934, allocations: 4.031 kB / 0.5745 GB, free: 4.418 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1937, allocations: 11.98 kB / 0.5745 GB, free: 4.406 MB / 446.1 MB 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.0001732/0.1939, allocations: 107.2 kB / 0.5746 GB, free: 4.293 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.194, allocations: 83.33 kB / 0.5747 GB, free: 4.199 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.194, allocations: 0 / 0.5747 GB, free: 4.199 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.1941, allocations: 59.34 kB / 0.5747 GB, free: 4.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1943, allocations: 8.562 kB / 0.5747 GB, free: 4.121 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.1945, allocations: 109 kB / 0.5748 GB, free: 3.988 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1947, allocations: 0.6753 MB / 0.5755 GB, free: 3.289 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.1949, allocations: 15.97 kB / 0.5755 GB, free: 3.273 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.1949, allocations: 11.38 kB / 0.5755 GB, free: 3.262 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1949, allocations: 0 / 0.5755 GB, free: 3.262 MB / 446.1 MB Notification: Performance of Templates: time 0.003497/0.1984, allocations: 0.5201 MB / 0.576 GB, free: 2.746 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)