Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001678/0.001678, 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.00188/0.00188, 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.75/1.75, 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.018/1.018, allocations: 150 MB / 459.5 MB, free: 5.281 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.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.002126/0.002126, allocations: 66.38 kB / 0.6361 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1729, allocations: 89.14 MB / 0.7232 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002003/0.1749, allocations: 0.5321 MB / 0.7237 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.053e-05/0.175, allocations: 0 / 0.7237 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.175, allocations: 0 / 0.7237 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.175, allocations: 0 / 0.7237 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.962e-05/0.1751, allocations: 0 / 0.7237 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-05/0.1751, allocations: 0 / 0.7237 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.454e-05/0.1751, allocations: 7.938 kB / 0.7237 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.1752, allocations: 0 / 0.7237 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.186e-05/0.1752, allocations: 0 / 0.7237 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.215e-05/0.1752, allocations: 4 kB / 0.7237 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1752, allocations: 0 / 0.7237 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.071e-06/0.1752, allocations: 8 kB / 0.7237 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.1753, allocations: 0 / 0.7237 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1753, allocations: 3.938 kB / 0.7237 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.629e-05/0.1754, allocations: 4.828 kB / 0.7237 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1754, allocations: 0 / 0.7237 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1754, allocations: 0 / 0.7237 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.1754, allocations: 0 / 0.7237 GB, free: 3.477 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003615/0.1757, allocations: 315.8 kB / 0.724 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1758, allocations: 8.031 kB / 0.724 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.1758, allocations: 42.73 kB / 0.7241 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.002e-05/0.1758, allocations: 4.938 kB / 0.7241 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.176, allocations: 164.3 kB / 0.7242 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.176, allocations: 384 / 0.7242 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.176, allocations: 384 / 0.7242 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.013e-05/0.1761, allocations: 34.2 kB / 0.7243 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1761, allocations: 3.938 kB / 0.7243 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1761, allocations: 0 / 0.7243 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1761, allocations: 0 / 0.7243 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.565e-05/0.1761, allocations: 0 / 0.7243 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.1765, allocations: 383.5 kB / 0.7246 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1766, allocations: 169.1 kB / 0.7248 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.1766, allocations: 84.08 kB / 0.7249 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.1767, allocations: 79.31 kB / 0.725 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/0.1768, allocations: 113.8 kB / 0.7251 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1768, allocations: 0 / 0.7251 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.422e-05/0.1768, allocations: 29.69 kB / 0.7251 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.1769, allocations: 127.1 kB / 0.7252 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.177, allocations: 93.86 kB / 0.7253 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.177, allocations: 25.7 kB / 0.7253 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.177, allocations: 84.27 kB / 0.7254 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.177, allocations: 7.938 kB / 0.7254 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.1771, allocations: 13.72 kB / 0.7254 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1772, allocations: 310.8 kB / 0.7257 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-06/0.1772, allocations: 3.938 kB / 0.7257 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.1772, allocations: 0 / 0.7257 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.1773, allocations: 79.27 kB / 0.7258 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-05/0.1773, allocations: 79.22 kB / 0.7259 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.399e-05/0.1774, allocations: 33.7 kB / 0.7259 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.1774, allocations: 83.28 kB / 0.726 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.1774, allocations: 79.22 kB / 0.7261 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.921e-05/0.1775, allocations: 156.5 kB / 0.7262 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.616e-05/0.1776, allocations: 79.28 kB / 0.7263 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.718e-05/0.1777, allocations: 158.5 kB / 0.7264 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.1777, allocations: 75.28 kB / 0.7265 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.1778, allocations: 91.2 kB / 0.7266 GB, free: 292 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 (0): * Single equations (assignments): 0 * 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.000141/0.1779, allocations: 260.3 kB / 0.7269 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.178, allocations: 101 kB / 0.7269 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.1781, allocations: 112.1 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.017e-05/0.1781, allocations: 180.2 kB / 0.7272 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.266e-05/0.1782, allocations: 192.2 kB / 0.7274 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.739e-05/0.1783, allocations: 180.2 kB / 0.7276 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.1786, allocations: 409.2 kB / 0.728 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.597e-05/0.1787, allocations: 105 kB / 0.7281 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.1787, allocations: 104.9 kB / 0.7282 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.601e-05/0.1788, allocations: 180.3 kB / 0.7283 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.843e-05/0.1789, allocations: 188.2 kB / 0.7285 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.221e-05/0.179, allocations: 180.6 kB / 0.7287 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.702e-05/0.1791, allocations: 180.2 kB / 0.7289 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.1793, allocations: 311.7 kB / 0.7292 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1794, allocations: 186 kB / 0.7293 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-05/0.1795, allocations: 184.2 kB / 0.7295 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.1796, allocations: 105 kB / 0.7296 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.1797, allocations: 180.2 kB / 0.7298 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.1797, allocations: 105 kB / 0.7299 GB, free: 12.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.745e-05/0.1798, allocations: 79.28 kB / 0.73 GB, free: 12.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1798, allocations: 0 / 0.73 GB, free: 12.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002834/0.1801, allocations: 3.938 kB / 0.73 GB, free: 12.61 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 (0): * Single equations (assignments): 0 * 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.0005308/0.1806, allocations: 0.8087 MB / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.242e-05/0.1807, allocations: 4.094 kB / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1807, allocations: 0 / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.1807, allocations: 0 / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.1811, allocations: 465.2 kB / 0.7312 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1823, allocations: 1.528 MB / 0.7327 GB, free: 9.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.1827, allocations: 0.6808 MB / 0.7334 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.322e-06/0.1827, allocations: 0 / 0.7334 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.1827, allocations: 7.438 kB / 0.7334 GB, free: 8.992 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1827, allocations: 0 / 0.7334 GB, free: 8.992 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.2117, allocations: 0.9278 MB / 0.7343 GB, free: 8.199 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.296, allocations: 12.41 kB / 0.7343 GB, free: 8.188 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant_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_Logical_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.500069969100878] Failed to read output from testmodel.py, exit status != 0: 8.364327686838806 8.380033631 8.201616364 Calling exit ...