Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.638/1.638, allocations: 288.4 MB / 303.7 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 182.9 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 0.631 GB, free: 9.785 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008025/0.0008024, allocations: 92.69 kB / 0.7444 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 13.25 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1756, allocations: 115.3 MB / 0.9801 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005789/0.1763, allocations: 323.7 kB / 0.9804 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001773/0.1765, allocations: 39.91 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.1765, allocations: 4 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.1765, allocations: 0 / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.912e-05/0.1766, allocations: 0 / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1767, allocations: 7.984 kB / 0.9805 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.921e-05/0.1768, allocations: 4 kB / 0.9805 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.1768, allocations: 4 kB / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.784e-05/0.1768, allocations: 3.938 kB / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.726e-05/0.1769, allocations: 4 kB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.1769, allocations: 0 / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.177, allocations: 19.97 kB / 0.9805 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.177, allocations: 4 kB / 0.9805 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.177, allocations: 33.64 kB / 0.9806 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.311e-05/0.1771, allocations: 23.97 kB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1771, allocations: 0 / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1771, allocations: 3.938 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1771, allocations: 0 / 0.9806 GB, free: 26.8 MB / 0.6198 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.0002097/0.1773, allocations: 341.3 kB / 0.9809 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1774, allocations: 12.03 kB / 0.9809 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.1774, allocations: 4.844 kB / 0.9809 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.14e-05/0.1775, allocations: 164.6 kB / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1775, allocations: 4.375 kB / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1775, allocations: 4.375 kB / 0.9811 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1776, allocations: 62.19 kB / 0.9812 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1776, allocations: 192 / 0.9812 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1777, allocations: 7.875 kB / 0.9812 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.1777, allocations: 11.98 kB / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.169e-05/0.1777, allocations: 23.98 kB / 0.9812 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.178, allocations: 264.8 kB / 0.9815 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.426e-05/0.178, allocations: 22.56 kB / 0.9815 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.1781, allocations: 16.86 kB / 0.9815 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.1781, allocations: 0 / 0.9815 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.1781, allocations: 30.56 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1781, allocations: 0 / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001463/0.1782, allocations: 67.39 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.1783, allocations: 81.23 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.858e-05/0.1783, allocations: 113.8 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.1784, allocations: 25.7 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.1784, allocations: 99.8 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.1784, allocations: 11.89 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.1784, allocations: 3.938 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.1785, allocations: 318.8 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.1785, allocations: 11.98 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.1785, allocations: 62.88 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.1786, allocations: 130.1 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1786, allocations: 4 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001138/0.1787, allocations: 115.2 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1788, allocations: 33.95 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1788, allocations: 4 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1788, allocations: 0 / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.1788, allocations: 15.94 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1789, allocations: 4 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.1789, allocations: 11.84 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.179, allocations: 7.984 kB / 0.9826 GB, free: 24.45 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.355e-05/0.179, allocations: 143.5 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.179, allocations: 4 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.696e-06/0.1791, allocations: 11.47 kB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1791, allocations: 3.938 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1791, allocations: 0 / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1791, allocations: 4 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.1792, allocations: 157.6 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1792, allocations: 3.938 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-06/0.1792, allocations: 3.984 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1792, allocations: 3.984 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1792, allocations: 0 / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1792, allocations: 0 / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1792, allocations: 0 / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.387e-05/0.1793, allocations: 169.2 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.1793, allocations: 85.02 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.1793, allocations: 0 / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.1794, allocations: 0 / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.1794, allocations: 4 kB / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1794, allocations: 0 / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.1795, allocations: 91.3 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.21e-07/0.1795, allocations: 4 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002718/0.1798, allocations: 15.88 kB / 0.9833 GB, free: 23.65 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001144/0.1799, allocations: 103.2 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.18, allocations: 83.33 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.18, allocations: 0 / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.919e-05/0.18, allocations: 63.89 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.1802, allocations: 10.59 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001621/0.1804, allocations: 102.8 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.049e-05/0.1805, allocations: 0.6809 MB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.139e-05/0.1806, allocations: 11.73 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.1806, allocations: 11.44 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of SimCode: time 1.332e-06/0.1806, allocations: 4 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.002062/0.1827, allocations: 0.4993 MB / 0.9848 GB, free: 22.02 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)