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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) 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.3 MB, free: 8.008 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.001/0.001, allocations: 180.6 kB / 372 MB, free: 10.26 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.46/1.46, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.000769/0.0007691, allocations: 99.77 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003544, allocations: 16.75 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1902, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006505/0.1909, allocations: 323.8 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.1911, allocations: 27.98 kB / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.1912, allocations: 0 / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.1912, allocations: 3.938 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.121e-05/0.1912, allocations: 0 / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.1914, allocations: 19.97 kB / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.359e-05/0.1914, allocations: 4 kB / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.1915, allocations: 0 / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.1915, allocations: 0 / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.769e-05/0.1916, allocations: 4 kB / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1916, allocations: 0 / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.1917, allocations: 15.98 kB / 0.98 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.1917, allocations: 15.92 kB / 0.9801 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.1917, allocations: 25.7 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.373e-05/0.1918, allocations: 15.98 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1918, allocations: 0 / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1918, allocations: 4 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.1918, allocations: 0 / 0.9801 GB, free: 27.11 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.0002432/0.1921, allocations: 345.1 kB / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1921, allocations: 12.03 kB / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.1922, allocations: 30.56 kB / 0.9805 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.1922, allocations: 3.906 kB / 0.9805 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.429e-05/0.1923, allocations: 171.2 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1923, allocations: 0 / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.1923, allocations: 3.984 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1924, allocations: 65.56 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.1924, allocations: 0 / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1924, allocations: 3.938 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.1925, allocations: 11.98 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.385e-05/0.1925, allocations: 23.98 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.1928, allocations: 260.8 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.634e-05/0.1929, allocations: 30.48 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.1929, allocations: 8.859 kB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.1929, allocations: 0 / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.1929, allocations: 34.62 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1929, allocations: 0 / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001552/0.1931, allocations: 71.34 kB / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.1931, allocations: 77.11 kB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/0.1932, allocations: 109.8 kB / 0.9813 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.1932, allocations: 37.83 kB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.1932, allocations: 99.73 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/0.1933, allocations: 11.89 kB / 0.9814 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.1933, allocations: 4 kB / 0.9814 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.1933, allocations: 310.8 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.1934, allocations: 11.98 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.1934, allocations: 63.25 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.1934, allocations: 45.69 kB / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1934, allocations: 4 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001191/0.1936, allocations: 123.2 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1936, allocations: 29.7 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1936, allocations: 7.984 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1936, allocations: 0 / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.1937, allocations: 15.94 kB / 0.982 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1937, allocations: 8.109 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.1938, allocations: 11.84 kB / 0.9821 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1938, allocations: 8.234 kB / 0.9821 GB, free: 24.8 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.858e-05/0.1939, allocations: 147.5 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.1939, allocations: 4 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.009e-05/0.1939, allocations: 3.531 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1939, allocations: 0 / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1939, allocations: 4 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.194, allocations: 7.891 kB / 0.9822 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.799e-05/0.1941, allocations: 153.7 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1941, allocations: 0 / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.1941, allocations: 0 / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1941, allocations: 4 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.1941, allocations: 4 kB / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1941, allocations: 0 / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1941, allocations: 7.938 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.053e-05/0.1942, allocations: 169.1 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.1942, allocations: 81.02 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.1942, allocations: 3.984 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.1943, allocations: 4.031 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.1943, allocations: 4 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1943, allocations: 0 / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.1944, allocations: 91.27 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1944, allocations: 0 / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002548/0.1946, allocations: 8 kB / 0.9827 GB, free: 24.02 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.0002864/0.1949, allocations: 0.7063 MB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.1951, allocations: 83.33 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1951, allocations: 0 / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.952e-05/0.1951, allocations: 59.41 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.1953, allocations: 4.75 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.1956, allocations: 145 kB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.1957, allocations: 0.677 MB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.974e-05/0.1958, allocations: 19.86 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.1958, allocations: 11.42 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1958, allocations: 3.938 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.2072, allocations: 1.248 MB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/0.2074, allocations: 209.5 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.802, allocations: 0 / 0.9858 GB, free: 20.89 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)