Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.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.001652/0.001652, allocations: 71.91 kB / 20.51 MB, free: 1.285 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.002038/0.002038, allocations: 158.6 kB / 23.76 MB, free: 4.469 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.514/1.514, allocations: 177.2 MB / 204.1 MB, free: 8.965 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.9819/0.9819, allocations: 113.9 MB / 374.5 MB, free: 12.9 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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor") [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: 67.33 kB / 0.555 GB, free: 2.762 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1611, allocations: 89.16 MB / 0.6421 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002232/0.1633, allocations: 0.6088 MB / 0.6427 GB, free: 8.953 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.165, allocations: 1.214 MB / 0.6439 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.165, allocations: 4 kB / 0.6439 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.1651, allocations: 3.938 kB / 0.6439 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.1651, allocations: 7.922 kB / 0.6439 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.1658, allocations: 220.6 kB / 0.6441 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.166, allocations: 179.7 kB / 0.6443 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.1661, allocations: 12 kB / 0.6443 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1662, allocations: 71.88 kB / 0.6444 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1664, allocations: 51.8 kB / 0.6444 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.1664, allocations: 16 kB / 0.6444 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.599e-05/0.1665, allocations: 31.92 kB / 0.6445 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.1665, allocations: 7.984 kB / 0.6445 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.1666, allocations: 55.89 kB / 0.6445 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.1668, allocations: 155.5 kB / 0.6447 GB, free: 6.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1668, allocations: 4 kB / 0.6447 GB, free: 6.926 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1668, allocations: 0 / 0.6447 GB, free: 6.926 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.1668, allocations: 0 / 0.6447 GB, free: 6.926 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.0005493/0.1674, allocations: 369.4 kB / 0.645 GB, free: 6.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1674, allocations: 8.031 kB / 0.645 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.1675, allocations: 8.938 kB / 0.645 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.1676, allocations: 110.5 kB / 0.6451 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1676, allocations: 8.375 kB / 0.6451 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.1676, allocations: 12.36 kB / 0.6452 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.1677, allocations: 46.25 kB / 0.6452 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1678, allocations: 4.188 kB / 0.6452 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1678, allocations: 3.938 kB / 0.6452 GB, free: 6.293 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1678, allocations: 3.984 kB / 0.6452 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.055e-05/0.1678, allocations: 23.92 kB / 0.6452 GB, free: 6.266 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.1683, allocations: 276.5 kB / 0.6455 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.248e-05/0.1684, allocations: 30.56 kB / 0.6455 GB, free: 5.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.1684, allocations: 16.8 kB / 0.6455 GB, free: 5.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.1684, allocations: 4 kB / 0.6456 GB, free: 5.902 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1686, allocations: 91.33 kB / 0.6456 GB, free: 5.801 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1686, allocations: 0 / 0.6456 GB, free: 5.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002587/0.1689, allocations: 109.9 kB / 0.6457 GB, free: 5.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1689, allocations: 55.41 kB / 0.6458 GB, free: 5.621 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.169, allocations: 117.8 kB / 0.6459 GB, free: 5.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.1691, allocations: 29.7 kB / 0.6459 GB, free: 5.461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.1691, allocations: 92.12 kB / 0.646 GB, free: 5.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1692, allocations: 23.83 kB / 0.646 GB, free: 5.344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/0.1693, allocations: 45.69 kB / 0.6461 GB, free: 5.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1694, allocations: 318.8 kB / 0.6464 GB, free: 4.973 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.1696, allocations: 123.3 kB / 0.6465 GB, free: 4.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.1698, allocations: 153.9 kB / 0.6467 GB, free: 4.664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.17, allocations: 171.5 kB / 0.6468 GB, free: 4.469 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.17, allocations: 0 / 0.6468 GB, free: 4.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004924/0.1705, allocations: 328.2 kB / 0.6471 GB, free: 4.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.1706, allocations: 67.39 kB / 0.6472 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1706, allocations: 0 / 0.6472 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1706, allocations: 4 kB / 0.6472 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.822e-05/0.1706, allocations: 4.125 kB / 0.6472 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.793e-05/0.1706, allocations: 12 kB / 0.6472 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.171, allocations: 51.89 kB / 0.6473 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.171, allocations: 15.98 kB / 0.6473 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,xor1.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.0001063/0.1711, allocations: 125.7 kB / 0.6474 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.1711, allocations: 4 kB / 0.6474 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.1712, allocations: 12.44 kB / 0.6474 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1712, allocations: 0 / 0.6474 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1712, allocations: 480 / 0.6474 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1712, allocations: 7.984 kB / 0.6474 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1713, allocations: 117.2 kB / 0.6475 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1713, allocations: 0 / 0.6475 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/0.1713, allocations: 4 kB / 0.6475 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1713, allocations: 3.938 kB / 0.6475 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1713, allocations: 0 / 0.6475 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1713, allocations: 0 / 0.6475 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1713, allocations: 0 / 0.6475 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.1715, allocations: 128.9 kB / 0.6477 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.1715, allocations: 3.953 kB / 0.6477 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1715, allocations: 8.047 kB / 0.6477 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.1715, allocations: 4 kB / 0.6477 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1716, allocations: 11.98 kB / 0.6477 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1716, allocations: 0 / 0.6477 GB, free: 3.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.1716, allocations: 91.27 kB / 0.6478 GB, free: 3.383 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1716, allocations: 3.938 kB / 0.6478 GB, free: 3.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002463/0.1719, allocations: 32 kB / 0.6478 GB, free: 3.348 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,xor1.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.0001365/0.172, allocations: 99.25 kB / 0.6479 GB, free: 3.242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.1724, allocations: 282.1 kB / 0.6482 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1724, allocations: 0 / 0.6482 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.1724, allocations: 27.92 kB / 0.6482 GB, free: 2.902 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1727, allocations: 19.92 kB / 0.6482 GB, free: 2.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.173, allocations: 150.8 kB / 0.6484 GB, free: 2.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.783e-05/0.1731, allocations: 71.59 kB / 0.6484 GB, free: 2.613 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.1731, allocations: 4 kB / 0.6484 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.1731, allocations: 16.48 kB / 0.6485 GB, free: 2.594 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1731, allocations: 0 / 0.6485 GB, free: 2.594 MB / 0.545 GB Notification: Performance of Templates: time 0.00512/0.1782, allocations: 2.073 MB / 0.6505 GB, free: 0.5742 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.561233512009494] Failed to read output from testmodel.py, exit status != 0: 0.18634754105005413 0.20153193100000003 0.031545806 Calling exit ...