Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.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.001352/0.001352, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.001525/0.001525, allocations: 204 kB / 20.09 MB, free: 2.977 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9983/0.9983, allocations: 150 MB / 459.5 MB, free: 5.27 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.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",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.002038/0.002038, allocations: 70.16 kB / 0.6362 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1938, allocations: 89.13 MB / 0.7232 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002101/0.1959, allocations: 0.6998 MB / 0.7239 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1971, allocations: 0.9021 MB / 0.7248 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.1971, allocations: 0 / 0.7248 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.1971, allocations: 3.938 kB / 0.7248 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-05/0.1972, allocations: 7.938 kB / 0.7248 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.1974, allocations: 19.92 kB / 0.7248 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.932e-05/0.1975, allocations: 47.84 kB / 0.7249 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.1976, allocations: 4 kB / 0.7249 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.1976, allocations: 23.91 kB / 0.7249 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.1977, allocations: 23.91 kB / 0.7249 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1977, allocations: 4 kB / 0.7249 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.1977, allocations: 4 kB / 0.7249 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.1978, allocations: 4 kB / 0.7249 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.1978, allocations: 19.86 kB / 0.7249 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1979, allocations: 44.09 kB / 0.725 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1979, allocations: 7.938 kB / 0.725 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1979, allocations: 4 kB / 0.725 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1979, allocations: 0 / 0.725 GB, free: 2.191 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.0005498/0.1984, allocations: 355.3 kB / 0.7253 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1985, allocations: 12.03 kB / 0.7253 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.1985, allocations: 34.73 kB / 0.7254 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.445e-05/0.1986, allocations: 4.938 kB / 0.7254 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1987, allocations: 176.3 kB / 0.7255 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1987, allocations: 8.375 kB / 0.7256 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1987, allocations: 384 / 0.7256 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.199, allocations: 66.22 kB / 0.7256 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.199, allocations: 3.938 kB / 0.7256 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.199, allocations: 0 / 0.7256 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.199, allocations: 4 kB / 0.7256 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.1993, allocations: 71.86 kB / 0.7257 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.1997, allocations: 260.9 kB / 0.7259 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.1999, allocations: 54.53 kB / 0.726 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.2001, allocations: 42.81 kB / 0.726 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.2001, allocations: 0 / 0.726 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.2001, allocations: 34.5 kB / 0.7261 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.2001, allocations: 0 / 0.7261 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005662/0.2007, allocations: 137.5 kB / 0.7262 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.2007, allocations: 55.41 kB / 0.7263 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2008, allocations: 113.8 kB / 0.7264 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2009, allocations: 25.7 kB / 0.7264 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.2009, allocations: 88.14 kB / 0.7265 GB, free: 472 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.2009, allocations: 11.89 kB / 0.7265 GB, free: 460 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.201, allocations: 13.72 kB / 0.7265 GB, free: 440 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2011, allocations: 318.8 kB / 0.7268 GB, free: 112 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.2013, allocations: 35.95 kB / 0.7268 GB, free: 76 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.2014, allocations: 32.16 kB / 0.7269 GB, free: 44 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.2018, allocations: 80.8 kB / 0.7269 GB, free: 15.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2018, allocations: 4 kB / 0.7269 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003477/0.2021, allocations: 93.62 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2021, allocations: 4 kB / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2021, allocations: 0 / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2021, allocations: 0 / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.2023, allocations: 23.97 kB / 0.7271 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2023, allocations: 0 / 0.7271 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.236e-05/0.2024, allocations: 11.98 kB / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.2024, allocations: 0 / 0.7271 GB, free: 15.82 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 0.0001/0.2025, allocations: 113.8 kB / 0.7272 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.2025, allocations: 7.953 kB / 0.7272 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.2025, allocations: 7.844 kB / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2025, allocations: 0 / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2026, allocations: 7.984 kB / 0.7272 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2026, allocations: 0 / 0.7272 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.2027, allocations: 173.5 kB / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2027, allocations: 0 / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.2029, allocations: 15.98 kB / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2029, allocations: 0 / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.2029, allocations: 0 / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2029, allocations: 3.984 kB / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2029, allocations: 4 kB / 0.7274 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.2033, allocations: 195.4 kB / 0.7276 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.2033, allocations: 81.06 kB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.2033, allocations: 0 / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2034, allocations: 19.91 kB / 0.7277 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.2035, allocations: 8 kB / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2035, allocations: 4 kB / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.712e-05/0.2035, allocations: 91.2 kB / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2035, allocations: 0 / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002166/0.2038, allocations: 8 kB / 0.7278 GB, free: 14.99 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.0007546/0.2045, allocations: 0.7319 MB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.2049, allocations: 63.92 kB / 0.7286 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2049, allocations: 3.938 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.205, allocations: 39.97 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.0002992/0.2053, allocations: 1.719 kB / 0.7286 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.2058, allocations: 165.7 kB / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.2061, allocations: 0.6768 MB / 0.7294 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.2062, allocations: 7.984 kB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.2062, allocations: 15.44 kB / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.2062, allocations: 4 kB / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.2301, allocations: 1.688 MB / 0.7311 GB, free: 11.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.167, allocations: 13.34 kB / 0.7311 GB, free: 11.61 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo_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_Modulo.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.151380946859717] Failed to read output from testmodel.py, exit status != 0: 8.236447159899399 8.257747135 8.055885284 Calling exit ...