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.001318/0.001318, allocations: 108.5 kB / 16.45 MB, free: 6.453 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.001434/0.001434, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.474/1.474, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002565/0.002565, allocations: 289.5 kB / 309.1 MB, free: 3.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.297/1.297, allocations: 180.9 MB / 0.5333 GB, free: 13.77 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.003097/0.003097, allocations: 105.8 kB / 0.7343 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1913, allocations: 95.34 MB / 0.8274 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001709/0.193, allocations: 0.5943 MB / 0.828 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002162/0.1932, allocations: 39.86 kB / 0.828 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.501e-05/0.1932, allocations: 0 / 0.828 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.1933, allocations: 0 / 0.828 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.156e-05/0.1933, allocations: 4 kB / 0.828 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1935, allocations: 15.92 kB / 0.828 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.1935, allocations: 7.938 kB / 0.828 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.1936, allocations: 4 kB / 0.828 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.1936, allocations: 0 / 0.828 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.1936, allocations: 0 / 0.828 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1937, allocations: 8 kB / 0.8281 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.1937, allocations: 19.97 kB / 0.8281 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.1937, allocations: 3.984 kB / 0.8281 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.1938, allocations: 11.94 kB / 0.8281 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.408e-05/0.1939, allocations: 20.14 kB / 0.8281 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1939, allocations: 4 kB / 0.8281 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1939, allocations: 0 / 0.8281 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1939, allocations: 0 / 0.8281 GB, free: 9.086 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.0003714/0.1942, allocations: 345.2 kB / 0.8284 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1943, allocations: 16.03 kB / 0.8285 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.1943, allocations: 30.75 kB / 0.8285 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.1943, allocations: 4.938 kB / 0.8285 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1945, allocations: 168.4 kB / 0.8287 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1945, allocations: 384 / 0.8287 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.1945, allocations: 8.312 kB / 0.8287 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1946, allocations: 58.19 kB / 0.8287 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1946, allocations: 3.938 kB / 0.8287 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1946, allocations: 7.984 kB / 0.8287 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.1947, allocations: 4 kB / 0.8287 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/0.1947, allocations: 27.98 kB / 0.8288 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.195, allocations: 264.8 kB / 0.829 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.1951, allocations: 26.52 kB / 0.829 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.1951, allocations: 4.859 kB / 0.829 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.1951, allocations: 0 / 0.829 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1951, allocations: 38.56 kB / 0.8291 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1951, allocations: 4 kB / 0.8291 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001799/0.1953, allocations: 71.34 kB / 0.8292 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.1954, allocations: 77.11 kB / 0.8292 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.1955, allocations: 113.8 kB / 0.8293 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1955, allocations: 29.64 kB / 0.8294 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.1956, allocations: 103.9 kB / 0.8295 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.1956, allocations: 7.953 kB / 0.8295 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.1956, allocations: 25.83 kB / 0.8295 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1957, allocations: 318.8 kB / 0.8298 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.1958, allocations: 12 kB / 0.8298 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.1958, allocations: 55.27 kB / 0.8299 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.196, allocations: 138.1 kB / 0.83 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.196, allocations: 0 / 0.83 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000159/0.1961, allocations: 115.2 kB / 0.8301 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.1962, allocations: 37.69 kB / 0.8301 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1962, allocations: 0 / 0.8301 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1962, allocations: 7.938 kB / 0.8301 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/0.1962, allocations: 12 kB / 0.8302 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1963, allocations: 0 / 0.8302 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.1963, allocations: 7.953 kB / 0.8302 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.1963, allocations: 20.19 kB / 0.8302 GB, free: 6.641 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 9.922e-05/0.1964, allocations: 147.4 kB / 0.8303 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.1965, allocations: 4 kB / 0.8303 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.122e-05/0.1965, allocations: 3.531 kB / 0.8303 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1965, allocations: 3.984 kB / 0.8303 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1965, allocations: 0 / 0.8303 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1965, allocations: 0 / 0.8303 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.1967, allocations: 157.6 kB / 0.8305 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1967, allocations: 0 / 0.8305 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1967, allocations: 0 / 0.8305 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1967, allocations: 8 kB / 0.8305 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1967, allocations: 7.922 kB / 0.8305 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.1967, allocations: 0 / 0.8305 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1967, allocations: 0 / 0.8305 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.1968, allocations: 165.2 kB / 0.8307 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.1969, allocations: 85.03 kB / 0.8307 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1969, allocations: 8 kB / 0.8307 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.1969, allocations: 4.031 kB / 0.8308 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.1969, allocations: 0 / 0.8308 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1969, allocations: 7.938 kB / 0.8308 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.075e-05/0.197, allocations: 99.27 kB / 0.8309 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.197, allocations: 0 / 0.8309 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002491/0.1973, allocations: 8 kB / 0.8309 GB, free: 5.84 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.0005244/0.1978, allocations: 0.7025 MB / 0.8315 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001525/0.1979, allocations: 83.33 kB / 0.8316 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1979, allocations: 0 / 0.8316 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.198, allocations: 63.33 kB / 0.8317 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.1982, allocations: 6.625 kB / 0.8317 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.1986, allocations: 143.2 kB / 0.8318 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1989, allocations: 0.6807 MB / 0.8325 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.714e-05/0.199, allocations: 7.984 kB / 0.8325 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.1991, allocations: 19.42 kB / 0.8325 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.1991, allocations: 0 / 0.8325 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.2222, allocations: 1.466 MB / 0.834 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.047, allocations: 8.125 kB / 0.834 GB, free: 2.707 MB / 0.5762 GB " [Timeout remaining time 652] (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: 12.445179528091103] Failed to read output from testmodel.py, exit status != 0: 8.111646662000567 8.125679794 7.92916913 Calling exit ...