Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.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.001396/0.001396, allocations: 75.75 kB / 20.51 MB, free: 1.121 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.001566/0.001566, allocations: 164.7 kB / 23.76 MB, free: 4.191 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.479/1.479, allocations: 177.2 MB / 204.1 MB, free: 8.879 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.9285/0.9285, allocations: 113.9 MB / 374.5 MB, free: 12.85 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge") [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.002124/0.002124, allocations: 67.58 kB / 0.555 GB, free: 2.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1649, allocations: 89.15 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001955/0.1669, allocations: 0.7003 MB / 0.6428 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1684, allocations: 1.17 MB / 0.6439 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.1684, allocations: 4 kB / 0.6439 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.1685, allocations: 3.938 kB / 0.6439 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.946e-05/0.1685, allocations: 15.86 kB / 0.6439 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.169, allocations: 134.8 kB / 0.6441 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1692, allocations: 111.8 kB / 0.6442 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.232e-05/0.1693, allocations: 15.92 kB / 0.6442 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.966e-05/0.1694, allocations: 47.91 kB / 0.6442 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.811e-05/0.1695, allocations: 43.81 kB / 0.6443 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.1695, allocations: 12 kB / 0.6443 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.1696, allocations: 23.98 kB / 0.6443 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.1696, allocations: 15.92 kB / 0.6443 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.1697, allocations: 31.92 kB / 0.6444 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1699, allocations: 119.5 kB / 0.6445 GB, free: 7.082 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1699, allocations: 0 / 0.6445 GB, free: 7.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1699, allocations: 4 kB / 0.6445 GB, free: 7.078 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1699, allocations: 0 / 0.6445 GB, free: 7.078 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006053/0.1705, allocations: 333.7 kB / 0.6448 GB, free: 6.715 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1705, allocations: 12.03 kB / 0.6448 GB, free: 6.703 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.1706, allocations: 12.89 kB / 0.6448 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1707, allocations: 122.4 kB / 0.6449 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1707, allocations: 384 / 0.6449 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1707, allocations: 8.375 kB / 0.6449 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.1709, allocations: 66.22 kB / 0.645 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1709, allocations: 192 / 0.645 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.171, allocations: 7.922 kB / 0.645 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.171, allocations: 0 / 0.645 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.1712, allocations: 51.89 kB / 0.6451 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.1716, allocations: 248.5 kB / 0.6453 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1718, allocations: 58.56 kB / 0.6454 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1719, allocations: 40.83 kB / 0.6454 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.1719, allocations: 0 / 0.6454 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.1722, allocations: 95.38 kB / 0.6455 GB, free: 5.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1722, allocations: 0 / 0.6455 GB, free: 5.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.000464/0.1727, allocations: 145.5 kB / 0.6456 GB, free: 5.773 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1727, allocations: 51.41 kB / 0.6457 GB, free: 5.711 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1728, allocations: 125.8 kB / 0.6458 GB, free: 5.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1728, allocations: 29.7 kB / 0.6458 GB, free: 5.543 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.1729, allocations: 88.14 kB / 0.6459 GB, free: 5.453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1729, allocations: 23.81 kB / 0.6459 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.173, allocations: 41.7 kB / 0.646 GB, free: 5.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1732, allocations: 322.8 kB / 0.6463 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.1734, allocations: 81.66 kB / 0.6464 GB, free: 4.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.1736, allocations: 125.3 kB / 0.6465 GB, free: 4.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.1739, allocations: 141.9 kB / 0.6466 GB, free: 4.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1739, allocations: 0 / 0.6466 GB, free: 4.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004936/0.1744, allocations: 240.8 kB / 0.6468 GB, free: 4.418 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.1744, allocations: 41.69 kB / 0.6469 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1744, allocations: 4.062 kB / 0.6469 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1744, allocations: 7.938 kB / 0.6469 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.1745, allocations: 12.11 kB / 0.6469 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1745, allocations: 4 kB / 0.6469 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.1748, allocations: 31.92 kB / 0.6469 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.1748, allocations: 15.92 kB / 0.647 GB, free: 4.297 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001142/0.1749, allocations: 125.8 kB / 0.6471 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.1749, allocations: 3.953 kB / 0.6471 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.1749, allocations: 12.44 kB / 0.6471 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1749, allocations: 0 / 0.6471 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1749, allocations: 7.938 kB / 0.6471 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1749, allocations: 3.984 kB / 0.6471 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.1754, allocations: 314.1 kB / 0.6474 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1754, allocations: 0 / 0.6474 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.1755, allocations: 8 kB / 0.6474 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1755, allocations: 0 / 0.6474 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1755, allocations: 7.984 kB / 0.6474 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1755, allocations: 0 / 0.6474 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1755, allocations: 0 / 0.6474 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.1758, allocations: 219.3 kB / 0.6476 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.1758, allocations: 11.89 kB / 0.6476 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1759, allocations: 4 kB / 0.6476 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.1759, allocations: 7.984 kB / 0.6477 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.176, allocations: 7.984 kB / 0.6477 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.176, allocations: 0 / 0.6477 GB, free: 3.516 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.094e-05/0.1761, allocations: 99.31 kB / 0.6478 GB, free: 3.418 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1761, allocations: 0 / 0.6478 GB, free: 3.418 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002626/0.1763, allocations: 28 kB / 0.6478 GB, free: 3.391 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001404/0.1765, allocations: 95.25 kB / 0.6479 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.1769, allocations: 200.9 kB / 0.6481 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1769, allocations: 0 / 0.6481 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.177, allocations: 35.92 kB / 0.6481 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.1773, allocations: 18.42 kB / 0.6481 GB, free: 3.023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.1776, allocations: 158.8 kB / 0.6483 GB, free: 2.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.027e-05/0.1777, allocations: 75.33 kB / 0.6483 GB, free: 2.738 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.1777, allocations: 7.859 kB / 0.6483 GB, free: 2.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.1778, allocations: 12.5 kB / 0.6484 GB, free: 2.719 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1778, allocations: 0 / 0.6484 GB, free: 2.719 MB / 0.545 GB Notification: Performance of Templates: time 0.004428/0.1822, allocations: 1.565 MB / 0.6499 GB, free: 1.184 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.518076544045471] Failed to read output from testmodel.py, exit status != 0: 0.190367536037229 0.20531532600000002 0.032328023000000004 Calling exit ...