Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001332/0.001332, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.001413/0.001413, allocations: 220.4 kB / 23.01 MB, free: 4.926 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.967/0.967, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002143/0.002143, allocations: 66.33 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1876, allocations: 89.17 MB / 0.7284 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001664/0.1893, allocations: 0.5894 MB / 0.729 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002366/0.1895, allocations: 39.81 kB / 0.729 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.1896, allocations: 4 kB / 0.729 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.1896, allocations: 4 kB / 0.729 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.958e-05/0.1896, allocations: 0 / 0.729 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.1898, allocations: 15.92 kB / 0.729 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.326e-05/0.1899, allocations: 4 kB / 0.729 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.1899, allocations: 0 / 0.729 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.049e-05/0.19, allocations: 4 kB / 0.729 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.19, allocations: 3.984 kB / 0.729 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.19, allocations: 0 / 0.729 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.122e-05/0.1901, allocations: 23.98 kB / 0.7291 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.1901, allocations: 7.938 kB / 0.7291 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.1902, allocations: 11.92 kB / 0.7291 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.925e-05/0.1903, allocations: 32.12 kB / 0.7291 GB, free: 472 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1903, allocations: 0 / 0.7291 GB, free: 472 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1903, allocations: 0 / 0.7291 GB, free: 472 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1903, allocations: 0 / 0.7291 GB, free: 472 kB / 0.545 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.0003382/0.1906, allocations: 268.1 kB / 0.7294 GB, free: 164 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1906, allocations: 12.02 kB / 0.7294 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.1907, allocations: 34.75 kB / 0.7294 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.1907, allocations: 4.891 kB / 0.7294 GB, free: 104 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1908, allocations: 106.5 kB / 0.7295 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.1908, allocations: 8.375 kB / 0.7295 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.1908, allocations: 4.375 kB / 0.7295 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.191, allocations: 54.25 kB / 0.7296 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.191, allocations: 3.938 kB / 0.7296 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.191, allocations: 3.938 kB / 0.7296 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.191, allocations: 11.98 kB / 0.7296 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.075e-05/0.1911, allocations: 27.97 kB / 0.7296 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.1914, allocations: 231.8 kB / 0.7298 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.393e-05/0.1914, allocations: 30.52 kB / 0.7299 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.1915, allocations: 4.859 kB / 0.7299 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.1915, allocations: 3.984 kB / 0.7299 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1915, allocations: 34.62 kB / 0.7299 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.1915, allocations: 0 / 0.7299 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001703/0.1917, allocations: 59.41 kB / 0.73 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1917, allocations: 89.17 kB / 0.7301 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.1918, allocations: 117.8 kB / 0.7302 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1918, allocations: 25.7 kB / 0.7302 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.1919, allocations: 103.9 kB / 0.7303 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.1919, allocations: 4 kB / 0.7303 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.1919, allocations: 25.7 kB / 0.7303 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1921, allocations: 314.8 kB / 0.7306 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.1921, allocations: 19.98 kB / 0.7306 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/0.1922, allocations: 55.19 kB / 0.7307 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1923, allocations: 134.1 kB / 0.7308 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1923, allocations: 0 / 0.7308 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001575/0.1925, allocations: 123.4 kB / 0.7309 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.1925, allocations: 37.7 kB / 0.731 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1925, allocations: 160 / 0.731 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1925, allocations: 4 kB / 0.731 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.1926, allocations: 12 kB / 0.731 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1926, allocations: 3.984 kB / 0.731 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.1927, allocations: 11.92 kB / 0.731 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.1927, allocations: 11.94 kB / 0.731 GB, free: 14.22 MB / 0.5606 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.0001039/0.1928, allocations: 149.4 kB / 0.7312 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1928, allocations: 7.953 kB / 0.7312 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.1928, allocations: 7.469 kB / 0.7312 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.1929, allocations: 3.984 kB / 0.7312 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1929, allocations: 0 / 0.7312 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1929, allocations: 3.984 kB / 0.7312 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.193, allocations: 124.7 kB / 0.7313 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.193, allocations: 3.938 kB / 0.7313 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-06/0.193, allocations: 7.984 kB / 0.7313 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.193, allocations: 0 / 0.7313 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.193, allocations: 0 / 0.7313 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.193, allocations: 0 / 0.7313 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.193, allocations: 4 kB / 0.7313 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.1932, allocations: 169.1 kB / 0.7315 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.1932, allocations: 7.953 kB / 0.7315 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.1932, allocations: 0 / 0.7315 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.1932, allocations: 0 / 0.7315 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.1933, allocations: 0 / 0.7315 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1933, allocations: 4 kB / 0.7315 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.176e-05/0.1933, allocations: 103.3 kB / 0.7316 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1933, allocations: 0 / 0.7316 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002443/0.1936, allocations: 8 kB / 0.7316 GB, free: 13.54 MB / 0.5606 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.000464/0.194, allocations: 0.6985 MB / 0.7323 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1942, allocations: 91.3 kB / 0.7324 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1942, allocations: 0 / 0.7324 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.1942, allocations: 59.39 kB / 0.7324 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.1944, allocations: 0 / 0.7324 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.1948, allocations: 134.5 kB / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1951, allocations: 0.6807 MB / 0.7332 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.35e-05/0.1952, allocations: 16.53 kB / 0.7332 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.1952, allocations: 15.44 kB / 0.7332 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.1952, allocations: 0 / 0.7332 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.2235, allocations: 1.56 MB / 0.7348 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.14, allocations: 13.36 kB / 0.7348 GB, free: 10.3 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.103829919000418] Failed to read output from testmodel.py, exit status != 0: 11.251717728002404 11.276570967 11.081464987 Calling exit ...