Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.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.001753/0.001753, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001421/0.001421, allocations: 163.7 kB / 23.76 MB, free: 4.195 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.434/1.434, allocations: 177.2 MB / 204.1 MB, free: 8.984 MB / 190.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.9912/0.9912, allocations: 113.9 MB / 374.5 MB, free: 12.87 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: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And") [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.002222/0.002222, allocations: 63.91 kB / 0.555 GB, free: 2.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.17, allocations: 89.15 MB / 0.6421 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.001986/0.1719, allocations: 0.624 MB / 0.6427 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.1738, allocations: 1.206 MB / 0.6439 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.1739, allocations: 0 / 0.6439 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.1739, allocations: 3.938 kB / 0.6439 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.875e-05/0.174, allocations: 19.86 kB / 0.6439 GB, free: 7.668 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.1748, allocations: 204.8 kB / 0.6441 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.175, allocations: 175.7 kB / 0.6443 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.1751, allocations: 15.98 kB / 0.6443 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1753, allocations: 67.89 kB / 0.6443 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.1754, allocations: 55.84 kB / 0.6444 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.1755, allocations: 12 kB / 0.6444 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.121e-05/0.1755, allocations: 31.94 kB / 0.6444 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.1756, allocations: 7.922 kB / 0.6445 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/0.1757, allocations: 55.89 kB / 0.6445 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.1759, allocations: 155.5 kB / 0.6447 GB, free: 6.906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1759, allocations: 7.938 kB / 0.6447 GB, free: 6.898 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1759, allocations: 0 / 0.6447 GB, free: 6.898 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.1759, allocations: 0 / 0.6447 GB, free: 6.898 MB / 0.545 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.0005949/0.1765, allocations: 365.5 kB / 0.645 GB, free: 6.496 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1765, allocations: 8.031 kB / 0.645 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.1766, allocations: 8.938 kB / 0.645 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1767, allocations: 110.5 kB / 0.6451 GB, free: 6.348 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.1767, allocations: 4.375 kB / 0.6451 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.1768, allocations: 12.38 kB / 0.6451 GB, free: 6.332 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1769, allocations: 46.23 kB / 0.6452 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1769, allocations: 8.188 kB / 0.6452 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1769, allocations: 3.938 kB / 0.6452 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1769, allocations: 0 / 0.6452 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.1769, allocations: 19.92 kB / 0.6452 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.1774, allocations: 272.5 kB / 0.6455 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.537e-05/0.1775, allocations: 26.58 kB / 0.6455 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.1775, allocations: 24.88 kB / 0.6455 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.1775, allocations: 0 / 0.6455 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.1777, allocations: 83.27 kB / 0.6456 GB, free: 5.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1777, allocations: 0 / 0.6456 GB, free: 5.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002462/0.1779, allocations: 109.8 kB / 0.6457 GB, free: 5.684 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.178, allocations: 55.41 kB / 0.6458 GB, free: 5.617 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1781, allocations: 117.8 kB / 0.6459 GB, free: 5.492 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.1781, allocations: 33.7 kB / 0.6459 GB, free: 5.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.1782, allocations: 88.14 kB / 0.646 GB, free: 5.363 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.1782, allocations: 16.22 kB / 0.646 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.1783, allocations: 45.69 kB / 0.6461 GB, free: 5.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1784, allocations: 326.8 kB / 0.6464 GB, free: 4.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1786, allocations: 119.4 kB / 0.6465 GB, free: 4.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.1788, allocations: 159.6 kB / 0.6466 GB, free: 4.656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.1791, allocations: 159.6 kB / 0.6468 GB, free: 4.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1791, allocations: 4 kB / 0.6468 GB, free: 4.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005056/0.1796, allocations: 328.2 kB / 0.6471 GB, free: 4.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/0.1796, allocations: 67.39 kB / 0.6472 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1796, allocations: 4 kB / 0.6472 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1797, allocations: 0 / 0.6472 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.493e-05/0.1797, allocations: 12.06 kB / 0.6472 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1797, allocations: 4.062 kB / 0.6472 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.18, allocations: 55.89 kB / 0.6472 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.1801, allocations: 11.98 kB / 0.6472 GB, free: 3.953 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001145/0.1802, allocations: 129.7 kB / 0.6474 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.1802, allocations: 0 / 0.6474 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.1802, allocations: 20.42 kB / 0.6474 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1802, allocations: 0 / 0.6474 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1803, allocations: 0 / 0.6474 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1803, allocations: 3.984 kB / 0.6474 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1804, allocations: 121.2 kB / 0.6475 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1804, allocations: 0 / 0.6475 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.1804, allocations: 0 / 0.6475 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1804, allocations: 0 / 0.6475 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1804, allocations: 7.984 kB / 0.6475 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1804, allocations: 3.938 kB / 0.6475 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1804, allocations: 0 / 0.6475 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.1806, allocations: 117 kB / 0.6476 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.1806, allocations: 8.047 kB / 0.6476 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1806, allocations: 3.938 kB / 0.6476 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.25e-05/0.1806, allocations: 4.062 kB / 0.6476 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.1807, allocations: 15.97 kB / 0.6477 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1807, allocations: 4 kB / 0.6477 GB, free: 3.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.1807, allocations: 87.27 kB / 0.6478 GB, free: 3.379 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1807, allocations: 4 kB / 0.6478 GB, free: 3.375 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002379/0.181, allocations: 24 kB / 0.6478 GB, free: 3.352 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001442/0.1811, allocations: 117.4 kB / 0.6479 GB, free: 3.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.1815, allocations: 278.1 kB / 0.6482 GB, free: 2.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1815, allocations: 0 / 0.6482 GB, free: 2.922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.1815, allocations: 23.98 kB / 0.6482 GB, free: 2.898 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.1818, allocations: 19.92 kB / 0.6482 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.1821, allocations: 150.8 kB / 0.6483 GB, free: 2.699 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.659e-05/0.1822, allocations: 71.59 kB / 0.6484 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.1822, allocations: 7.984 kB / 0.6484 GB, free: 2.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.1822, allocations: 12.5 kB / 0.6484 GB, free: 2.59 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1822, allocations: 0 / 0.6484 GB, free: 2.59 MB / 0.545 GB Notification: Performance of Templates: time 0.005156/0.1874, allocations: 2.048 MB / 0.6504 GB, free: 0.5938 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.518811810063198] Failed to read output from testmodel.py, exit status != 0: 0.19598668301478028 0.21055063300000001 0.031568118 Calling exit ...