Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.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.001294/0.001294, allocations: 113.7 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.0015/0.0015, 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.549/1.549, 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 0.988/0.988, allocations: 150 MB / 459.5 MB, free: 5.266 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.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add",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.001995/0.001995, allocations: 72.58 kB / 0.6362 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1656, allocations: 89.13 MB / 0.7232 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Add): time 0.002075/0.1677, allocations: 0.6905 MB / 0.7239 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1687, allocations: 0.8358 MB / 0.7247 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.1688, allocations: 0 / 0.7247 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.1688, allocations: 0 / 0.7247 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.1689, allocations: 11.86 kB / 0.7247 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.104e-05/0.1689, allocations: 15.98 kB / 0.7247 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.374e-05/0.169, allocations: 39.86 kB / 0.7248 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1691, allocations: 11.98 kB / 0.7248 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.1692, allocations: 15.92 kB / 0.7248 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.1693, allocations: 27.91 kB / 0.7248 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1693, allocations: 4 kB / 0.7248 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-06/0.1693, allocations: 4 kB / 0.7248 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.1693, allocations: 11.98 kB / 0.7248 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.1693, allocations: 15.88 kB / 0.7249 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.1694, allocations: 40.03 kB / 0.7249 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1694, allocations: 4 kB / 0.7249 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1694, allocations: 0 / 0.7249 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.1695, allocations: 0 / 0.7249 GB, free: 2.211 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.0005823/0.17, allocations: 373 kB / 0.7253 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1701, allocations: 8.031 kB / 0.7253 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.1701, allocations: 30.75 kB / 0.7253 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.1702, allocations: 4.938 kB / 0.7253 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1703, allocations: 168.3 kB / 0.7255 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1703, allocations: 4.375 kB / 0.7255 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.1703, allocations: 8.375 kB / 0.7255 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1706, allocations: 66.2 kB / 0.7255 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1706, allocations: 11.94 kB / 0.7255 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1706, allocations: 4 kB / 0.7256 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1706, allocations: 3.938 kB / 0.7256 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.1709, allocations: 67.86 kB / 0.7256 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.1713, allocations: 260.9 kB / 0.7259 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.1715, allocations: 58.53 kB / 0.7259 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.1716, allocations: 44.91 kB / 0.726 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1717, allocations: 0 / 0.726 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1717, allocations: 34.5 kB / 0.726 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1717, allocations: 0 / 0.726 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005541/0.1722, allocations: 133.7 kB / 0.7261 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1723, allocations: 51.41 kB / 0.7262 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1724, allocations: 109.8 kB / 0.7263 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1724, allocations: 29.64 kB / 0.7263 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.1725, allocations: 92.12 kB / 0.7264 GB, free: 480 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.1725, allocations: 11.91 kB / 0.7264 GB, free: 468 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1725, allocations: 9.719 kB / 0.7264 GB, free: 452 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.1727, allocations: 322.8 kB / 0.7267 GB, free: 120 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1728, allocations: 27.97 kB / 0.7268 GB, free: 92 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.173, allocations: 35.89 kB / 0.7268 GB, free: 56 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.1733, allocations: 76.72 kB / 0.7269 GB, free: 15.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1733, allocations: 0 / 0.7269 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003388/0.1736, allocations: 93.62 kB / 0.7269 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1736, allocations: 8 kB / 0.727 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1736, allocations: 3.984 kB / 0.727 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1736, allocations: 0 / 0.727 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.1738, allocations: 15.98 kB / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1738, allocations: 0 / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.1739, allocations: 11.98 kB / 0.727 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1739, allocations: 0 / 0.727 GB, free: 15.84 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 9.995e-05/0.174, allocations: 121.7 kB / 0.7271 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.174, allocations: 7.953 kB / 0.7271 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.1741, allocations: 11.89 kB / 0.7271 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1741, allocations: 4 kB / 0.7271 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1741, allocations: 0 / 0.7271 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1741, allocations: 0 / 0.7271 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.1743, allocations: 169.5 kB / 0.7273 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1743, allocations: 0 / 0.7273 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.502e-05/0.1744, allocations: 11.98 kB / 0.7273 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1744, allocations: 3.984 kB / 0.7273 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1744, allocations: 12 kB / 0.7273 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1744, allocations: 0 / 0.7273 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1744, allocations: 4 kB / 0.7273 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.1748, allocations: 187.4 kB / 0.7275 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.1749, allocations: 85 kB / 0.7276 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1749, allocations: 8 kB / 0.7276 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.175, allocations: 15.97 kB / 0.7276 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.175, allocations: 7.938 kB / 0.7276 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.175, allocations: 0 / 0.7276 GB, free: 15.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.1751, allocations: 91.2 kB / 0.7277 GB, free: 15.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1751, allocations: 4 kB / 0.7277 GB, free: 15.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002104/0.1753, allocations: 4 kB / 0.7277 GB, free: 15 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.0008115/0.1761, allocations: 0.728 MB / 0.7284 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.1765, allocations: 75.86 kB / 0.7285 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1765, allocations: 0 / 0.7285 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1767, allocations: 32.3 kB / 0.7285 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.177, allocations: 9.562 kB / 0.7285 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.1775, allocations: 156.9 kB / 0.7287 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1778, allocations: 0.6846 MB / 0.7293 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.1779, allocations: 96 / 0.7293 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.1779, allocations: 23.42 kB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1779, allocations: 0 / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.2031, allocations: 1.62 MB / 0.7309 GB, free: 11.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.298, allocations: 13.73 kB / 0.731 GB, free: 11.68 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add_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_Add.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.30565380002372] Failed to read output from testmodel.py, exit status != 0: 8.367459012195468 8.385770591 8.21219753 Calling exit ...