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.613/1.613, allocations: 288.2 MB / 303.2 MB, free: 8.086 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.001434/0.001434, allocations: 177 kB / 371.8 MB, free: 10.28 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.456/1.456, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.00089/0.0008901, allocations: 106.7 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003919, allocations: 13.53 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1835, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005618/0.1842, allocations: 322 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000152/0.1843, allocations: 33.64 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.4e-05/0.1843, allocations: 0 / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.1844, allocations: 0 / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.057e-05/0.1844, allocations: 7.922 kB / 0.9798 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.1846, allocations: 12 kB / 0.9798 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.138e-05/0.1846, allocations: 7.984 kB / 0.9798 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.1847, allocations: 3.984 kB / 0.9799 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.563e-05/0.1847, allocations: 0 / 0.9799 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.248e-05/0.1847, allocations: 4 kB / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1847, allocations: 0 / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.375e-05/0.1848, allocations: 15.98 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.1848, allocations: 0 / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.1849, allocations: 33.64 kB / 0.9799 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.939e-05/0.1849, allocations: 11.98 kB / 0.9799 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1849, allocations: 4 kB / 0.9799 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.185e-06/0.1849, allocations: 4 kB / 0.9799 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.185, allocations: 3.938 kB / 0.9799 GB, free: 27.14 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.0002041/0.1852, allocations: 346.2 kB / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1852, allocations: 8.031 kB / 0.9803 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.36e-05/0.1852, allocations: 34.56 kB / 0.9803 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.1853, allocations: 3.906 kB / 0.9803 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.283e-05/0.1853, allocations: 171.2 kB / 0.9805 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.1853, allocations: 8 kB / 0.9805 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.1853, allocations: 3.984 kB / 0.9805 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1855, allocations: 61.67 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1855, allocations: 0 / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.1855, allocations: 3.938 kB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.1855, allocations: 4 kB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.786e-05/0.1855, allocations: 23.98 kB / 0.9806 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.1858, allocations: 268.8 kB / 0.9808 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.247e-05/0.1858, allocations: 18.58 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.1858, allocations: 8.062 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.1859, allocations: 30.56 kB / 0.9809 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1859, allocations: 3.938 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.186, allocations: 63.39 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.186, allocations: 85.06 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.387e-05/0.1861, allocations: 113.8 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-06/0.1861, allocations: 25.7 kB / 0.9812 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.1861, allocations: 107.9 kB / 0.9813 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.1861, allocations: 7.906 kB / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.1862, allocations: 0 / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.1862, allocations: 310.8 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.1862, allocations: 19.92 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.1863, allocations: 66.86 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.424e-05/0.1863, allocations: 45.7 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1863, allocations: 0 / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001142/0.1864, allocations: 123.3 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.1865, allocations: 29.7 kB / 0.9818 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1865, allocations: 4 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1865, allocations: 4 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.1866, allocations: 8 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1866, allocations: 11.89 kB / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.1866, allocations: 11.84 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1867, allocations: 11.98 kB / 0.9819 GB, free: 24.85 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.238e-05/0.1867, allocations: 147.6 kB / 0.982 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1867, allocations: 0 / 0.982 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.225e-06/0.1868, allocations: 3.531 kB / 0.982 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1868, allocations: 4 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1868, allocations: 0 / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1868, allocations: 3.953 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1869, allocations: 153.7 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1869, allocations: 0 / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1869, allocations: 0 / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1869, allocations: 3.984 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1869, allocations: 0 / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1869, allocations: 8 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1869, allocations: 0 / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.549e-05/0.187, allocations: 165.2 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.1871, allocations: 85 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1871, allocations: 0 / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/0.1871, allocations: 4 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.1872, allocations: 0 / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1872, allocations: 4.031 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.587e-05/0.1872, allocations: 91.73 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1872, allocations: 0 / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002394/0.1875, allocations: 12 kB / 0.9825 GB, free: 24.07 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.0002404/0.1877, allocations: 0.7025 MB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.295e-05/0.1878, allocations: 91.27 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1878, allocations: 0 / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.699e-05/0.1878, allocations: 55.41 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.188, allocations: 5.672 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.1883, allocations: 144.8 kB / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.585e-05/0.1883, allocations: 0.6864 MB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.129e-05/0.1884, allocations: 15.92 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.1884, allocations: 11.44 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1885, allocations: 0 / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01004/0.1985, allocations: 1.222 MB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001276/0.1987, allocations: 210.6 kB / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.677, allocations: 0 / 0.9856 GB, free: 20.96 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)