Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.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.001824/0.001824, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.002256/0.002256, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.593/1.593, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.01/1.01, allocations: 150 MB / 459.5 MB, free: 5.32 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.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",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.00293/0.00293, allocations: 72 kB / 0.6362 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1977, allocations: 89.14 MB / 0.7232 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002217/0.1999, allocations: 0.6594 MB / 0.7239 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.201, allocations: 0.8553 MB / 0.7247 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.201, allocations: 0 / 0.7247 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.201, allocations: 4 kB / 0.7247 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.2011, allocations: 3.938 kB / 0.7247 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.2013, allocations: 7.984 kB / 0.7247 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.812e-05/0.2014, allocations: 27.86 kB / 0.7247 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.2014, allocations: 4 kB / 0.7247 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.2015, allocations: 19.97 kB / 0.7248 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.2016, allocations: 7.938 kB / 0.7248 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.2016, allocations: 4 kB / 0.7248 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.157e-05/0.2016, allocations: 8 kB / 0.7248 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.2016, allocations: 3.984 kB / 0.7248 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.2017, allocations: 7.938 kB / 0.7248 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.2018, allocations: 24.19 kB / 0.7248 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2018, allocations: 0 / 0.7248 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2018, allocations: 0 / 0.7248 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.2018, allocations: 0 / 0.7248 GB, free: 2.395 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005123/0.2023, allocations: 351.3 kB / 0.7252 GB, free: 2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2023, allocations: 8.031 kB / 0.7252 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.2024, allocations: 30.75 kB / 0.7252 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.655e-05/0.2025, allocations: 8.922 kB / 0.7252 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.2027, allocations: 168.3 kB / 0.7254 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2027, allocations: 4.375 kB / 0.7254 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.2027, allocations: 4.375 kB / 0.7254 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.2029, allocations: 50.23 kB / 0.7254 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2029, allocations: 7.938 kB / 0.7254 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.203, allocations: 0 / 0.7254 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.203, allocations: 0 / 0.7254 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.2031, allocations: 35.95 kB / 0.7255 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.2035, allocations: 248.9 kB / 0.7257 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.2037, allocations: 42.5 kB / 0.7257 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.904e-05/0.2038, allocations: 16.91 kB / 0.7258 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.2038, allocations: 3.984 kB / 0.7258 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.2038, allocations: 30.56 kB / 0.7258 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2038, allocations: 0 / 0.7258 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.00037/0.2042, allocations: 89.58 kB / 0.7259 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.2042, allocations: 55.34 kB / 0.7259 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.2043, allocations: 101.9 kB / 0.726 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2044, allocations: 25.7 kB / 0.726 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.2044, allocations: 82.03 kB / 0.7261 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.2044, allocations: 11.94 kB / 0.7261 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2045, allocations: 13.72 kB / 0.7261 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2046, allocations: 315 kB / 0.7264 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.2047, allocations: 15.98 kB / 0.7265 GB, free: 492 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.2048, allocations: 15.98 kB / 0.7265 GB, free: 476 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.205, allocations: 36.81 kB / 0.7265 GB, free: 436 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.205, allocations: 3.938 kB / 0.7265 GB, free: 432 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002101/0.2052, allocations: 77.66 kB / 0.7266 GB, free: 348 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2052, allocations: 4 kB / 0.7266 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2052, allocations: 0 / 0.7266 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2052, allocations: 4 kB / 0.7266 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.139e-05/0.2053, allocations: 4 kB / 0.7266 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2053, allocations: 0 / 0.7266 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.2054, allocations: 15.88 kB / 0.7266 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.2054, allocations: 0 / 0.7266 GB, free: 320 kB / 0.5294 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 (2): * Single equations (assignments): 2 * 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.66e-05/0.2054, allocations: 117.8 kB / 0.7267 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.2055, allocations: 0 / 0.7267 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.2057, allocations: 80.7 kB / 0.7268 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2057, allocations: 0 / 0.7268 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2057, allocations: 0 / 0.7268 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2057, allocations: 0 / 0.7268 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.2059, allocations: 161.6 kB / 0.727 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2059, allocations: 4.219 kB / 0.727 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.206, allocations: 11.98 kB / 0.727 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.206, allocations: 0 / 0.727 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.206, allocations: 3.984 kB / 0.727 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.206, allocations: 0 / 0.727 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.206, allocations: 0 / 0.727 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.2063, allocations: 167.5 kB / 0.7271 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.2063, allocations: 81.05 kB / 0.7272 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.2063, allocations: 0 / 0.7272 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.2064, allocations: 7.984 kB / 0.7272 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.2065, allocations: 4 kB / 0.7272 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2065, allocations: 0 / 0.7272 GB, free: 15.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.919e-05/0.2065, allocations: 87.27 kB / 0.7273 GB, free: 15.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2065, allocations: 0 / 0.7273 GB, free: 15.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002146/0.2067, allocations: 4 kB / 0.7273 GB, free: 15.5 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 (2): * Single equations (assignments): 2 * 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.0006102/0.2073, allocations: 0.7006 MB / 0.728 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.2076, allocations: 39.94 kB / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2076, allocations: 0 / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.002e-05/0.2077, allocations: 19.97 kB / 0.7281 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.208, allocations: 4 kB / 0.7281 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.2084, allocations: 139.7 kB / 0.7282 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.2087, allocations: 0.6768 MB / 0.7289 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.2088, allocations: 8.125 kB / 0.7289 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.2088, allocations: 7.438 kB / 0.7289 GB, free: 13.81 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.2088, allocations: 0 / 0.7289 GB, free: 13.81 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.2347, allocations: 1.273 MB / 0.7301 GB, free: 12.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.194, allocations: 10.86 kB / 0.7301 GB, free: 12.61 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos_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_Cos.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.501393044134602] Failed to read output from testmodel.py, exit status != 0: 8.281148564070463 8.309791301 8.102920585 Calling exit ...