Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 212.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002616/0.002616, allocations: 283.8 kB / 312.7 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.307/1.307, allocations: 180.6 MB / 0.5369 GB, free: 14.49 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002945/0.002945, allocations: 105.1 kB / 0.7395 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1874, allocations: 95.38 MB / 0.8327 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001806/0.1892, allocations: 0.596 MB / 0.8333 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002454/0.1895, allocations: 35.89 kB / 0.8333 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.1895, allocations: 0 / 0.8333 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.1895, allocations: 3.984 kB / 0.8333 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.1896, allocations: 0 / 0.8333 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1898, allocations: 11.94 kB / 0.8333 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.201e-05/0.1899, allocations: 11.98 kB / 0.8333 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.1899, allocations: 0 / 0.8333 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.1899, allocations: 4 kB / 0.8333 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.19, allocations: 0 / 0.8333 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.19, allocations: 0 / 0.8333 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.1901, allocations: 19.98 kB / 0.8333 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.1901, allocations: 15.91 kB / 0.8334 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.1901, allocations: 0 / 0.8334 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.1903, allocations: 28.14 kB / 0.8334 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1903, allocations: 0 / 0.8334 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.562e-06/0.1903, allocations: 0 / 0.8334 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1903, allocations: 4 kB / 0.8334 GB, free: 7.57 MB / 0.5762 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.0003819/0.1906, allocations: 276.5 kB / 0.8337 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1907, allocations: 13.94 kB / 0.8337 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.1907, allocations: 30.75 kB / 0.8337 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.1907, allocations: 4.922 kB / 0.8337 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.031e-05/0.1908, allocations: 114.5 kB / 0.8338 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1908, allocations: 384 / 0.8338 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1909, allocations: 8.312 kB / 0.8338 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.191, allocations: 91.88 kB / 0.8339 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.191, allocations: 3.938 kB / 0.8339 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.191, allocations: 0 / 0.8339 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.1911, allocations: 8 kB / 0.8339 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.203e-05/0.1911, allocations: 49.69 kB / 0.834 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1915, allocations: 243.8 kB / 0.8342 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.062e-05/0.1916, allocations: 52.22 kB / 0.8342 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.1916, allocations: 30.56 kB / 0.8343 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.1916, allocations: 0 / 0.8343 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1916, allocations: 34.62 kB / 0.8343 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1916, allocations: 0 / 0.8343 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002064/0.1918, allocations: 122.7 kB / 0.8344 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1919, allocations: 81.23 kB / 0.8345 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.192, allocations: 117.8 kB / 0.8346 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.192, allocations: 25.7 kB / 0.8346 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.1921, allocations: 107.9 kB / 0.8347 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/0.1921, allocations: 3.953 kB / 0.8347 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.1922, allocations: 21.72 kB / 0.8348 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1923, allocations: 322.8 kB / 0.8351 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-05/0.1923, allocations: 33.7 kB / 0.8351 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.1924, allocations: 88.56 kB / 0.8352 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1925, allocations: 134.1 kB / 0.8353 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1925, allocations: 0 / 0.8353 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001698/0.1927, allocations: 145.1 kB / 0.8355 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.1927, allocations: 41.72 kB / 0.8355 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1927, allocations: 4 kB / 0.8355 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1928, allocations: 4 kB / 0.8355 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.1928, allocations: 12 kB / 0.8355 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1928, allocations: 4 kB / 0.8355 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.1929, allocations: 7.938 kB / 0.8355 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1929, allocations: 7.938 kB / 0.8355 GB, free: 5.031 MB / 0.5762 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 0.0001156/0.193, allocations: 152.1 kB / 0.8357 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.1931, allocations: 3.953 kB / 0.8357 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.1931, allocations: 7.469 kB / 0.8357 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1931, allocations: 4 kB / 0.8357 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1931, allocations: 0 / 0.8357 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1931, allocations: 3.938 kB / 0.8357 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1932, allocations: 128.8 kB / 0.8358 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1932, allocations: 0 / 0.8358 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.1932, allocations: 0 / 0.8358 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1932, allocations: 4 kB / 0.8358 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1932, allocations: 7.938 kB / 0.8358 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1932, allocations: 0 / 0.8358 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1932, allocations: 0 / 0.8358 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.1934, allocations: 198.8 kB / 0.836 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.1934, allocations: 4 kB / 0.836 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1934, allocations: 3.984 kB / 0.836 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.1935, allocations: 0 / 0.836 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.1935, allocations: 4 kB / 0.836 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1935, allocations: 0 / 0.836 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.683e-05/0.1936, allocations: 95.2 kB / 0.8361 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1936, allocations: 0 / 0.8361 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002422/0.1938, allocations: 12 kB / 0.8361 GB, free: 4.324 MB / 0.5762 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.000507/0.1943, allocations: 0.7237 MB / 0.8368 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.1945, allocations: 138.7 kB / 0.837 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1945, allocations: 4 kB / 0.837 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/0.1946, allocations: 85.09 kB / 0.8371 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1948, allocations: 6.625 kB / 0.8371 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.1952, allocations: 172.2 kB / 0.8372 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.198e-05/0.1952, allocations: 64.05 kB / 0.8373 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.959e-05/0.1953, allocations: 12.55 kB / 0.8373 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.1954, allocations: 15.44 kB / 0.8373 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.1954, allocations: 0 / 0.8373 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.2268, allocations: 1.964 MB / 0.8392 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.47, allocations: 2.344 kB / 0.8392 GB, free: 1.156 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.838237880263478] Failed to read output from testmodel.py, exit status != 0: 11.577421133872122 11.601574266 11.40575074 Calling exit ...