Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.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.00172/0.00172, allocations: 109.1 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.002279/0.002279, allocations: 205 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.049/1.049, allocations: 150 MB / 459.5 MB, free: 5.273 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.Log,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Log",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.002108/0.002108, allocations: 68.59 kB / 0.6362 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2022, allocations: 89.13 MB / 0.7232 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Log): time 0.001992/0.2042, allocations: 0.6558 MB / 0.7239 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2052, allocations: 0.8475 MB / 0.7247 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.2052, allocations: 0 / 0.7247 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.2053, allocations: 0 / 0.7247 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.2053, allocations: 3.938 kB / 0.7247 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.2055, allocations: 11.98 kB / 0.7247 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.2056, allocations: 27.91 kB / 0.7247 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.271e-05/0.2057, allocations: 11.94 kB / 0.7247 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.2057, allocations: 8 kB / 0.7247 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.2058, allocations: 11.92 kB / 0.7248 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.2058, allocations: 4 kB / 0.7248 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.754e-05/0.2058, allocations: 4 kB / 0.7248 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.2058, allocations: 0 / 0.7248 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.2058, allocations: 15.92 kB / 0.7248 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.877e-05/0.2059, allocations: 24.17 kB / 0.7248 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.206, allocations: 0 / 0.7248 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.206, allocations: 0 / 0.7248 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.206, allocations: 0 / 0.7248 GB, free: 2.371 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.0004891/0.2064, allocations: 347.4 kB / 0.7251 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2065, allocations: 11.97 kB / 0.7251 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.2065, allocations: 34.75 kB / 0.7252 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.2066, allocations: 4.938 kB / 0.7252 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.2067, allocations: 172.3 kB / 0.7253 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.2067, allocations: 384 / 0.7253 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.2068, allocations: 4.375 kB / 0.7253 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.2069, allocations: 50.23 kB / 0.7254 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2069, allocations: 3.938 kB / 0.7254 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.207, allocations: 4 kB / 0.7254 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.207, allocations: 0 / 0.7254 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.2071, allocations: 27.97 kB / 0.7254 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.2075, allocations: 256.8 kB / 0.7257 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.2076, allocations: 42.5 kB / 0.7257 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.2077, allocations: 24.91 kB / 0.7257 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2077, allocations: 0 / 0.7257 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.2077, allocations: 34.55 kB / 0.7258 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2077, allocations: 0 / 0.7258 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003685/0.2081, allocations: 81.59 kB / 0.7258 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.2082, allocations: 55.39 kB / 0.7259 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.2082, allocations: 97.86 kB / 0.726 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.2082, allocations: 25.7 kB / 0.726 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.2083, allocations: 88.14 kB / 0.7261 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.2083, allocations: 9.781 kB / 0.7261 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.2084, allocations: 17.7 kB / 0.7261 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2085, allocations: 315 kB / 0.7264 GB, free: 480 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.861e-05/0.2086, allocations: 15.98 kB / 0.7264 GB, free: 464 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.2087, allocations: 11.98 kB / 0.7265 GB, free: 452 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.2088, allocations: 44.81 kB / 0.7265 GB, free: 404 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2088, allocations: 3.938 kB / 0.7265 GB, free: 400 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002013/0.209, allocations: 69.67 kB / 0.7266 GB, free: 324 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2091, allocations: 4 kB / 0.7266 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2091, allocations: 3.984 kB / 0.7266 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2091, allocations: 0 / 0.7266 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.516e-05/0.2092, allocations: 8 kB / 0.7266 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2092, allocations: 3.984 kB / 0.7266 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.2092, allocations: 11.94 kB / 0.7266 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2092, allocations: 7.969 kB / 0.7266 GB, free: 284 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.807e-05/0.2093, allocations: 113.8 kB / 0.7267 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.2094, allocations: 0 / 0.7267 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.2096, allocations: 72.72 kB / 0.7268 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2096, allocations: 3.984 kB / 0.7268 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2096, allocations: 4 kB / 0.7268 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.2096, allocations: 0 / 0.7268 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2098, allocations: 161.6 kB / 0.7269 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2098, allocations: 0 / 0.7269 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.2099, allocations: 7.984 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2099, allocations: 4 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.2099, allocations: 0 / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2099, allocations: 0 / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2099, allocations: 0 / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.2101, allocations: 167.5 kB / 0.7271 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.2102, allocations: 81.23 kB / 0.7272 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.2102, allocations: 0 / 0.7272 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.2103, allocations: 15.91 kB / 0.7272 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.2103, allocations: 0 / 0.7272 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.2103, allocations: 8 kB / 0.7272 GB, free: 15.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.2104, allocations: 79.28 kB / 0.7273 GB, free: 15.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2104, allocations: 0 / 0.7273 GB, free: 15.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002178/0.2106, allocations: 12.02 kB / 0.7273 GB, free: 15.46 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.0006131/0.2112, allocations: 0.6992 MB / 0.728 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.2114, allocations: 39.94 kB / 0.728 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2114, allocations: 0 / 0.728 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/0.2115, allocations: 23.97 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.2118, allocations: 0 / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.2122, allocations: 135.1 kB / 0.7282 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.2125, allocations: 0.6769 MB / 0.7288 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.2125, allocations: 8 kB / 0.7288 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.2126, allocations: 11.44 kB / 0.7289 GB, free: 13.78 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2126, allocations: 0 / 0.7289 GB, free: 13.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.2373, allocations: 1.263 MB / 0.7301 GB, free: 12.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.348, allocations: 8.547 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.Log.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log_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_Log.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.451641950989142] Failed to read output from testmodel.py, exit status != 0: 8.416080523980781 8.431513569 8.222637762 Calling exit ...