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.001242/0.001242, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001466/0.001466, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 8.004 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.003985/0.003985, allocations: 286.4 kB / 312.7 MB, free: 2.797 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.233/1.233, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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.002918/0.002918, allocations: 100.3 kB / 0.7396 GB, free: 27.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1921, allocations: 95.39 MB / 0.8328 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001855/0.194, allocations: 0.5856 MB / 0.8334 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002742/0.1943, allocations: 43.88 kB / 0.8334 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.1943, allocations: 8 kB / 0.8334 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.1943, allocations: 0 / 0.8334 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.687e-05/0.1944, allocations: 0 / 0.8334 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.1946, allocations: 11.98 kB / 0.8334 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.63e-05/0.1947, allocations: 7.938 kB / 0.8334 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.1947, allocations: 3.984 kB / 0.8334 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.121e-05/0.1947, allocations: 4 kB / 0.8334 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.1948, allocations: 4 kB / 0.8334 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1948, allocations: 0 / 0.8334 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.418e-05/0.1949, allocations: 19.92 kB / 0.8334 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.1949, allocations: 11.98 kB / 0.8335 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.195, allocations: 7.938 kB / 0.8335 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.1951, allocations: 24.12 kB / 0.8335 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1951, allocations: 4 kB / 0.8335 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.475e-06/0.1951, allocations: 0 / 0.8335 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.902e-06/0.1951, allocations: 0 / 0.8335 GB, free: 7.746 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.0004257/0.1955, allocations: 276.5 kB / 0.8338 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1955, allocations: 9.344 kB / 0.8338 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.1956, allocations: 34.75 kB / 0.8338 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.1956, allocations: 4.938 kB / 0.8338 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.695e-05/0.1957, allocations: 106.5 kB / 0.8339 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1957, allocations: 4.375 kB / 0.8339 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.1957, allocations: 384 / 0.8339 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1959, allocations: 58.23 kB / 0.834 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1959, allocations: 7.875 kB / 0.834 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1959, allocations: 3.984 kB / 0.834 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.1959, allocations: 8 kB / 0.834 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.196, allocations: 23.98 kB / 0.834 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.1964, allocations: 243.8 kB / 0.8342 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.718e-05/0.1964, allocations: 22.56 kB / 0.8343 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.1965, allocations: 4.859 kB / 0.8343 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.1965, allocations: 0 / 0.8343 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.1965, allocations: 38.56 kB / 0.8343 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1965, allocations: 0 / 0.8343 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001915/0.1967, allocations: 71.3 kB / 0.8344 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.1968, allocations: 85.22 kB / 0.8345 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.1969, allocations: 113.8 kB / 0.8346 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1969, allocations: 29.7 kB / 0.8346 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.197, allocations: 99.94 kB / 0.8347 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.197, allocations: 11.94 kB / 0.8347 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.197, allocations: 21.72 kB / 0.8347 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1971, allocations: 318.8 kB / 0.835 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.1972, allocations: 11.98 kB / 0.835 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.1972, allocations: 62.8 kB / 0.8351 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1974, allocations: 130.2 kB / 0.8352 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1974, allocations: 3.938 kB / 0.8352 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000154/0.1975, allocations: 115.4 kB / 0.8353 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.1975, allocations: 33.7 kB / 0.8354 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1976, allocations: 0 / 0.8354 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1976, allocations: 4 kB / 0.8354 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.1976, allocations: 19.92 kB / 0.8354 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1976, allocations: 0 / 0.8354 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.1977, allocations: 11.95 kB / 0.8354 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1977, allocations: 11.94 kB / 0.8354 GB, free: 5.5 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.0001076/0.1978, allocations: 140.2 kB / 0.8355 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1979, allocations: 4 kB / 0.8355 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.1979, allocations: 15.45 kB / 0.8356 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1979, allocations: 0 / 0.8356 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1979, allocations: 3.938 kB / 0.8356 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1979, allocations: 0 / 0.8356 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.198, allocations: 128.8 kB / 0.8357 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.198, allocations: 0 / 0.8357 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.198, allocations: 7.938 kB / 0.8357 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.198, allocations: 0 / 0.8357 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.198, allocations: 4 kB / 0.8357 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1981, allocations: 4 kB / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1981, allocations: 0 / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1982, allocations: 169.1 kB / 0.8359 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.1982, allocations: 4 kB / 0.8359 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1982, allocations: 0 / 0.8359 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.581e-05/0.1983, allocations: 7.938 kB / 0.8359 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.1983, allocations: 3.984 kB / 0.8359 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1983, allocations: 8.031 kB / 0.8359 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.1983, allocations: 91.2 kB / 0.836 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.1983, allocations: 0 / 0.836 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002405/0.1986, allocations: 12 kB / 0.836 GB, free: 4.824 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.0004848/0.1991, allocations: 0.6946 MB / 0.8367 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1992, allocations: 91.34 kB / 0.8368 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1992, allocations: 0 / 0.8368 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.1993, allocations: 55.41 kB / 0.8368 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.1995, allocations: 11.94 kB / 0.8368 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.1999, allocations: 146.5 kB / 0.837 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.2002, allocations: 0.6773 MB / 0.8376 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.2003, allocations: 15.98 kB / 0.8376 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.2004, allocations: 7.438 kB / 0.8376 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.2004, allocations: 0 / 0.8376 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.2287, allocations: 1.588 MB / 0.8392 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.5, allocations: 0 / 0.8392 GB, free: 1.566 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.846710284997243] Failed to read output from testmodel.py, exit status != 0: 10.60512758099867 10.632222931 10.432406927 Calling exit ...