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.01068/0.01068, allocations: 102.6 kB / 15.73 MB, free: 6.066 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.002262/0.002263, allocations: 198.1 kB / 16.67 MB, free: 5.98 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.694/1.694, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.6258/0.6258, allocations: 95.48 MB / 365.4 MB, free: 9.777 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.001476/0.001477, allocations: 75.89 kB / 0.5036 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1833, allocations: 69.08 MB / 0.5711 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002187/0.1855, allocations: 0.5592 MB / 0.5716 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002468/0.1858, allocations: 31.83 kB / 0.5717 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.1858, allocations: 4 kB / 0.5717 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.1859, allocations: 0 / 0.5717 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.634e-05/0.1859, allocations: 3.938 kB / 0.5717 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1861, allocations: 11.98 kB / 0.5717 GB, free: 7.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.1862, allocations: 11.98 kB / 0.5717 GB, free: 7.668 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.1863, allocations: 3.984 kB / 0.5717 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.176e-05/0.1863, allocations: 4 kB / 0.5717 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.1864, allocations: 0 / 0.5717 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1864, allocations: 0 / 0.5717 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-05/0.1865, allocations: 19.98 kB / 0.5717 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.1865, allocations: 7.938 kB / 0.5717 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.1865, allocations: 3.938 kB / 0.5717 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.1866, allocations: 31.95 kB / 0.5718 GB, free: 7.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1867, allocations: 0 / 0.5718 GB, free: 7.598 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1867, allocations: 4 kB / 0.5718 GB, free: 7.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1867, allocations: 0 / 0.5718 GB, free: 7.594 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.0004702/0.1871, allocations: 349.2 kB / 0.5721 GB, free: 7.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1872, allocations: 11.98 kB / 0.5721 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1872, allocations: 4.938 kB / 0.5721 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.1874, allocations: 168.3 kB / 0.5723 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1874, allocations: 7.875 kB / 0.5723 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.1874, allocations: 0 / 0.5723 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1876, allocations: 53.69 kB / 0.5723 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1876, allocations: 4 kB / 0.5723 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1876, allocations: 4 kB / 0.5723 GB, free: 6.906 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.1877, allocations: 7.984 kB / 0.5724 GB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.1877, allocations: 23.98 kB / 0.5724 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.1881, allocations: 260.7 kB / 0.5726 GB, free: 6.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.709e-05/0.1882, allocations: 22.58 kB / 0.5726 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.1882, allocations: 8.844 kB / 0.5727 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1882, allocations: 12.05 kB / 0.5727 GB, free: 6.516 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1882, allocations: 30.56 kB / 0.5727 GB, free: 6.477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.1882, allocations: 0 / 0.5727 GB, free: 6.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001929/0.1884, allocations: 71.19 kB / 0.5728 GB, free: 6.395 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.1886, allocations: 85.11 kB / 0.5728 GB, free: 6.293 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.1887, allocations: 113.9 kB / 0.573 GB, free: 6.172 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1887, allocations: 25.7 kB / 0.573 GB, free: 6.141 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.1889, allocations: 111.9 kB / 0.5731 GB, free: 6.027 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.1889, allocations: 3.938 kB / 0.5731 GB, free: 6.023 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.189, allocations: 29.61 kB / 0.5731 GB, free: 5.988 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1892, allocations: 310.8 kB / 0.5734 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.1892, allocations: 15.98 kB / 0.5734 GB, free: 5.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.08e-05/0.1893, allocations: 63.2 kB / 0.5735 GB, free: 5.574 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1894, allocations: 134.1 kB / 0.5736 GB, free: 5.406 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1894, allocations: 0 / 0.5736 GB, free: 5.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002087/0.1897, allocations: 115.2 kB / 0.5737 GB, free: 5.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.1897, allocations: 33.7 kB / 0.5738 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.1897, allocations: 4 kB / 0.5738 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1897, allocations: 3.938 kB / 0.5738 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.1898, allocations: 16.25 kB / 0.5738 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1899, allocations: 3.984 kB / 0.5738 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.515e-05/0.19, allocations: 11.84 kB / 0.5738 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.19, allocations: 8 kB / 0.5738 GB, free: 5.195 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.0002231/0.1902, allocations: 143.5 kB / 0.5739 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1902, allocations: 4 kB / 0.5739 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.1903, allocations: 15.41 kB / 0.574 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1903, allocations: 3.938 kB / 0.574 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1903, allocations: 0 / 0.574 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1903, allocations: 4 kB / 0.574 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.1906, allocations: 153.7 kB / 0.5741 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1906, allocations: 4 kB / 0.5741 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1906, allocations: 0 / 0.5741 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1906, allocations: 4 kB / 0.5741 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1906, allocations: 3.938 kB / 0.5741 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1907, allocations: 480 / 0.5741 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1907, allocations: 0 / 0.5741 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.1908, allocations: 169.2 kB / 0.5743 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.1909, allocations: 85.02 kB / 0.5744 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1909, allocations: 3.938 kB / 0.5744 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.191, allocations: 0 / 0.5744 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.191, allocations: 0 / 0.5744 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.191, allocations: 4 kB / 0.5744 GB, free: 4.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1911, allocations: 95.25 kB / 0.5745 GB, free: 4.406 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1911, allocations: 0 / 0.5745 GB, free: 4.406 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1914, allocations: 8 kB / 0.5745 GB, free: 4.398 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.0001768/0.1916, allocations: 111.3 kB / 0.5746 GB, free: 4.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1917, allocations: 83.33 kB / 0.5747 GB, free: 4.188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1918, allocations: 4 kB / 0.5747 GB, free: 4.184 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.194e-05/0.1918, allocations: 59.34 kB / 0.5747 GB, free: 4.113 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.192, allocations: 7.938 kB / 0.5747 GB, free: 4.105 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.1923, allocations: 105.6 kB / 0.5748 GB, free: 3.977 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1926, allocations: 0.6807 MB / 0.5755 GB, free: 3.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.1927, allocations: 11.98 kB / 0.5755 GB, free: 3.258 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.1927, allocations: 7.438 kB / 0.5755 GB, free: 3.25 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1927, allocations: 0 / 0.5755 GB, free: 3.25 MB / 446.1 MB Notification: Performance of Templates: time 0.00287/0.1956, allocations: 0.5304 MB / 0.576 GB, free: 2.727 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)