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.001021/0.001021, allocations: 108 kB / 15.6 MB, free: 132 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.00114/0.00114, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.246/1.246, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.62/1.62, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001377/0.001377, allocations: 74.98 kB / 0.6715 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.189, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001611/0.1907, allocations: 0.59 MB / 0.7839 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001858/0.1909, allocations: 35.88 kB / 0.784 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.1909, allocations: 0 / 0.784 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.1909, allocations: 4 kB / 0.784 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.515e-05/0.191, allocations: 0 / 0.784 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.1911, allocations: 11.98 kB / 0.784 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.815e-05/0.1912, allocations: 8 kB / 0.784 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.251e-05/0.1912, allocations: 7.984 kB / 0.784 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.1913, allocations: 4 kB / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.584e-05/0.1913, allocations: 7.875 kB / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.1913, allocations: 0 / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.148e-05/0.1914, allocations: 19.98 kB / 0.784 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.1914, allocations: 11.92 kB / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.887e-05/0.1914, allocations: 3.938 kB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.123e-05/0.1915, allocations: 15.98 kB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1915, allocations: 0 / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1915, allocations: 4 kB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1915, allocations: 0 / 0.7841 GB, free: 12.78 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.000261/0.1918, allocations: 349.3 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.1918, allocations: 8.031 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.1919, allocations: 8.828 kB / 0.7844 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.8e-05/0.1919, allocations: 172.6 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.1919, allocations: 4.312 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.192, allocations: 384 / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.1921, allocations: 58.19 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.1921, allocations: 192 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1921, allocations: 11.92 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.1921, allocations: 8 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.002e-05/0.1922, allocations: 23.98 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.1924, allocations: 260.8 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.529e-05/0.1925, allocations: 26.58 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.309e-05/0.1925, allocations: 4.859 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.1925, allocations: 0 / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1925, allocations: 46.55 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1925, allocations: 0 / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.1927, allocations: 59.41 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1927, allocations: 81.11 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.1928, allocations: 121.8 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.1928, allocations: 25.7 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.1929, allocations: 99.8 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.815e-06/0.1929, allocations: 8.031 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.1929, allocations: 29.7 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.193, allocations: 314.8 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.193, allocations: 15.98 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.472e-05/0.1931, allocations: 54.81 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.152e-05/0.1932, allocations: 134.1 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1932, allocations: 4 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001288/0.1933, allocations: 115.2 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.1933, allocations: 33.7 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1934, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1934, allocations: 7.984 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.1934, allocations: 19.88 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1935, allocations: 256 / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.1935, allocations: 19.84 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1935, allocations: 11.98 kB / 0.7861 GB, free: 10.37 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 7.516e-05/0.1936, allocations: 144.1 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.1937, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.172e-05/0.1937, allocations: 7.531 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1937, allocations: 3.938 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1937, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1937, allocations: 3.984 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1938, allocations: 153.6 kB / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1938, allocations: 7.938 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.1938, allocations: 3.984 kB / 0.7864 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1938, allocations: 4 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.1938, allocations: 0 / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1939, allocations: 0 / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1939, allocations: 0 / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.859e-05/0.194, allocations: 169.1 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.194, allocations: 77.11 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.194, allocations: 8.031 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.1941, allocations: 0 / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.1941, allocations: 0 / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1941, allocations: 4 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.1941, allocations: 95.33 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1941, allocations: 0 / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002276/0.1944, allocations: 11.94 kB / 0.7868 GB, free: 9.582 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.0001267/0.1945, allocations: 103.2 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.1946, allocations: 91.27 kB / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1946, allocations: 4 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.1947, allocations: 59.39 kB / 0.787 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.1949, allocations: 4.781 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.195, allocations: 109.5 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.1952, allocations: 0.6846 MB / 0.7878 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.165e-05/0.1953, allocations: 7.984 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.077e-05/0.1953, allocations: 11.44 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.1953, allocations: 0 / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.002224/0.1976, allocations: 0.5256 MB / 0.7883 GB, free: 7.914 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)