Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.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.001766/0.001766, allocations: 113.8 kB / 17.12 MB, free: 5.945 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.002046/0.002046, allocations: 208 kB / 20.09 MB, free: 2.996 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.52/1.52, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 1.052/1.052, allocations: 150 MB / 459.5 MB, free: 5.371 MB / 350.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.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",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.001992/0.001992, allocations: 69.98 kB / 0.6362 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1888, allocations: 89.14 MB / 0.7232 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Max): time 0.001934/0.1907, allocations: 0.6938 MB / 0.7239 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1917, allocations: 0.8397 MB / 0.7247 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.1917, allocations: 0 / 0.7247 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.1918, allocations: 3.938 kB / 0.7247 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.595e-05/0.1918, allocations: 7.922 kB / 0.7247 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 9.876e-05/0.1919, allocations: 15.98 kB / 0.7247 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.192, allocations: 51.78 kB / 0.7248 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.1921, allocations: 8 kB / 0.7248 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.646e-05/0.1922, allocations: 19.92 kB / 0.7248 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.1922, allocations: 15.92 kB / 0.7248 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1923, allocations: 4 kB / 0.7248 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.1923, allocations: 8 kB / 0.7248 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.1923, allocations: 7.984 kB / 0.7248 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.1923, allocations: 19.88 kB / 0.7249 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.361e-05/0.1924, allocations: 44.08 kB / 0.7249 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1924, allocations: 0 / 0.7249 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.09e-06/0.1924, allocations: 3.984 kB / 0.7249 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.1924, allocations: 0 / 0.7249 GB, free: 2.285 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005289/0.193, allocations: 359.3 kB / 0.7253 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.193, allocations: 16.03 kB / 0.7253 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.193, allocations: 34.75 kB / 0.7253 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.1931, allocations: 0.9375 kB / 0.7253 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1932, allocations: 176.3 kB / 0.7255 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1932, allocations: 4.312 kB / 0.7255 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1932, allocations: 4.375 kB / 0.7255 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.1935, allocations: 66.22 kB / 0.7255 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1935, allocations: 3.938 kB / 0.7255 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1935, allocations: 4 kB / 0.7256 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.1935, allocations: 0 / 0.7256 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.1938, allocations: 63.92 kB / 0.7256 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.1941, allocations: 268.9 kB / 0.7259 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1943, allocations: 54.48 kB / 0.7259 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1945, allocations: 40.91 kB / 0.726 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1945, allocations: 4 kB / 0.726 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1945, allocations: 30.56 kB / 0.726 GB, free: 1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1945, allocations: 0 / 0.726 GB, free: 1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005543/0.1951, allocations: 137.5 kB / 0.7261 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1951, allocations: 59.28 kB / 0.7262 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/0.1952, allocations: 109.8 kB / 0.7263 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1952, allocations: 25.7 kB / 0.7263 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.1953, allocations: 84.14 kB / 0.7264 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1953, allocations: 19.89 kB / 0.7264 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.1954, allocations: 13.72 kB / 0.7264 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1955, allocations: 318.8 kB / 0.7267 GB, free: 200 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1957, allocations: 27.97 kB / 0.7268 GB, free: 172 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1958, allocations: 36.12 kB / 0.7268 GB, free: 136 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1961, allocations: 76.72 kB / 0.7269 GB, free: 56 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1961, allocations: 4 kB / 0.7269 GB, free: 52 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003508/0.1964, allocations: 97.56 kB / 0.727 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1964, allocations: 4 kB / 0.727 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1965, allocations: 8 kB / 0.727 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1965, allocations: 0 / 0.727 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1966, allocations: 11.98 kB / 0.727 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1966, allocations: 0 / 0.727 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.74e-05/0.1967, allocations: 19.97 kB / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1967, allocations: 0 / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 8.202e-05/0.1968, allocations: 113.8 kB / 0.7271 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.1968, allocations: 7.953 kB / 0.7271 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.1972, allocations: 105.5 kB / 0.7272 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1972, allocations: 0 / 0.7272 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1972, allocations: 3.938 kB / 0.7272 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1972, allocations: 4 kB / 0.7272 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1974, allocations: 169.5 kB / 0.7274 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1974, allocations: 4 kB / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.1975, allocations: 19.97 kB / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1975, allocations: 0 / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1975, allocations: 0 / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1975, allocations: 4 kB / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1975, allocations: 0 / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.1979, allocations: 197.3 kB / 0.7276 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.198, allocations: 85.05 kB / 0.7277 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.198, allocations: 0 / 0.7277 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1981, allocations: 11.98 kB / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.1981, allocations: 7.938 kB / 0.7277 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1981, allocations: 4 kB / 0.7277 GB, free: 15.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.73e-05/0.1982, allocations: 83.27 kB / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1982, allocations: 3.938 kB / 0.7278 GB, free: 14.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002142/0.1984, allocations: 12 kB / 0.7278 GB, free: 14.98 MB / 0.545 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0007579/0.1992, allocations: 0.728 MB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003469/0.1995, allocations: 71.92 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1995, allocations: 0 / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1997, allocations: 40.27 kB / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.1999, allocations: 5.562 kB / 0.7286 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.2004, allocations: 159 kB / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2007, allocations: 0.6807 MB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.2007, allocations: 4.094 kB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.2008, allocations: 11.44 kB / 0.7295 GB, free: 13.2 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.2008, allocations: 0 / 0.7295 GB, free: 13.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.2246, allocations: 1.626 MB / 0.731 GB, free: 11.67 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.238, allocations: 20.98 kB / 0.7311 GB, free: 11.65 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max_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_Controls_OBC_CDL_Reals_Validation_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.382524310145527] Failed to read output from testmodel.py, exit status != 0: 8.305014355806634 8.321299997 8.125578394 Calling exit ...