Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.001291/0.001291, allocations: 79.91 kB / 19.93 MB, free: 1.766 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.001358/0.001358, allocations: 173.7 kB / 23.22 MB, free: 4.879 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.388/1.388, allocations: 177.1 MB / 203.5 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 179] 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.8909/0.8909, allocations: 114 MB / 373.9 MB, free: 13.21 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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.5547 GB, free: 2.621 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.343e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.617 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001683/0.001706, allocations: 0.6581 MB / 0.5553 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.003672, allocations: 1.349 MB / 0.5566 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.003727, allocations: 0 / 0.5566 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004773/0.004205, allocations: 207.3 kB / 0.5568 GB, free: 420 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.004336, allocations: 99.72 kB / 0.5569 GB, free: 320 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.005046, allocations: 249.9 kB / 0.5572 GB, free: 72 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.005632, allocations: 479.8 kB / 0.5576 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.005666, allocations: 4 kB / 0.5576 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.005968, allocations: 251.7 kB / 0.5579 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.006306, allocations: 223.6 kB / 0.5581 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.444e-05/0.0064, allocations: 24 kB / 0.5581 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.006645, allocations: 95.84 kB / 0.5582 GB, free: 15.01 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003945/0.00704, allocations: 275.4 kB / 0.5585 GB, free: 14.74 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.00723, allocations: 111.8 kB / 0.5586 GB, free: 14.63 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006825/0.007913, allocations: 0.526 MB / 0.5591 GB, free: 14.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.007917, allocations: 0 / 0.5591 GB, free: 14.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007918, allocations: 0 / 0.5591 GB, free: 14.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.007924, allocations: 4 kB / 0.5591 GB, free: 14.1 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001022/0.008946, allocations: 0.5694 MB / 0.5596 GB, free: 13.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.008982, allocations: 16.62 kB / 0.5597 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.009108, allocations: 28.8 kB / 0.5597 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.009623, allocations: 325.7 kB / 0.56 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.009649, allocations: 16.36 kB / 0.56 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.575e-05/0.009715, allocations: 20.38 kB / 0.56 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.01003, allocations: 192.6 kB / 0.5602 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.01004, allocations: 4.125 kB / 0.5602 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.01005, allocations: 384 / 0.5602 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.01006, allocations: 4.375 kB / 0.5602 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.01024, allocations: 111.9 kB / 0.5603 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.01061, allocations: 274.9 kB / 0.5606 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.0111, allocations: 315.6 kB / 0.5609 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.01128, allocations: 122.6 kB / 0.561 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.01129, allocations: 4 kB / 0.561 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.01169, allocations: 279.1 kB / 0.5613 GB, free: 11.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.01169, allocations: 0 / 0.5613 GB, free: 11.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=18): time 0.000842/0.01253, allocations: 0.5012 MB / 0.5618 GB, free: 11.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/0.01262, allocations: 110.8 kB / 0.5619 GB, free: 11.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.01307, allocations: 404.4 kB / 0.5623 GB, free: 10.65 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-05/0.01313, allocations: 41.7 kB / 0.5623 GB, free: 10.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.01329, allocations: 156.7 kB / 0.5625 GB, free: 10.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.01333, allocations: 39.7 kB / 0.5625 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.0135, allocations: 117.6 kB / 0.5626 GB, free: 10.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.01366, allocations: 346.8 kB / 0.5629 GB, free: 9.938 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.01378, allocations: 83.94 kB / 0.563 GB, free: 9.855 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008404/0.01462, allocations: 1.088 MB / 0.5641 GB, free: 8.488 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.01495, allocations: 249.5 kB / 0.5643 GB, free: 8.195 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01495, allocations: 7.938 kB / 0.5643 GB, free: 8.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005101/0.01546, allocations: 329.1 kB / 0.5646 GB, free: 7.859 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01548, allocations: 11.94 kB / 0.5647 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.01549, allocations: 4 kB / 0.5647 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.01551, allocations: 4.406 kB / 0.5647 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.01566, allocations: 35.91 kB / 0.5647 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.01567, allocations: 7.938 kB / 0.5647 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/0.01641, allocations: 64.58 kB / 0.5648 GB, free: 7.734 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.01643, allocations: 15.94 kB / 0.5648 GB, free: 7.719 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002206/0.01665, allocations: 199.6 kB / 0.565 GB, free: 7.516 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.0167, allocations: 31.81 kB / 0.565 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.01676, allocations: 33.95 kB / 0.565 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01676, allocations: 0 / 0.565 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.01677, allocations: 4 kB / 0.565 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.01678, allocations: 7.922 kB / 0.565 GB, free: 7.438 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.01701, allocations: 205.2 kB / 0.5652 GB, free: 7.207 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01701, allocations: 3.984 kB / 0.5652 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.01703, allocations: 7.938 kB / 0.5652 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01703, allocations: 0 / 0.5652 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.01705, allocations: 8.234 kB / 0.5653 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01705, allocations: 8 kB / 0.5653 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01705, allocations: 3.984 kB / 0.5653 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/0.01764, allocations: 427.7 kB / 0.5657 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.01768, allocations: 27.75 kB / 0.5657 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.01772, allocations: 11.94 kB / 0.5657 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.01782, allocations: 7.984 kB / 0.5657 GB, free: 6.688 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.01787, allocations: 19.92 kB / 0.5657 GB, free: 6.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.0179, allocations: 23.98 kB / 0.5658 GB, free: 6.645 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003202/0.01822, allocations: 287 kB / 0.566 GB, free: 6.363 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01822, allocations: 0 / 0.566 GB, free: 6.363 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.0186, allocations: 79.88 kB / 0.5661 GB, free: 6.285 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002504/0.01885, allocations: 136.3 kB / 0.5662 GB, free: 6.145 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.01929, allocations: 259.7 kB / 0.5665 GB, free: 5.891 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01929, allocations: 0 / 0.5665 GB, free: 5.891 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.01947, allocations: 116.7 kB / 0.5666 GB, free: 5.777 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.01973, allocations: 32.58 kB / 0.5666 GB, free: 5.746 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000865/0.0206, allocations: 0.5596 MB / 0.5672 GB, free: 5.156 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.02075, allocations: 153.2 kB / 0.5673 GB, free: 4.984 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.02086, allocations: 49.94 kB / 0.5674 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.02094, allocations: 24.5 kB / 0.5674 GB, free: 4.91 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02094, allocations: 0 / 0.5674 GB, free: 4.91 MB / 478.1 MB Notification: Performance of Templates: time 0.01137/0.03231, allocations: 5.398 MB / 0.5727 GB, free: 15.62 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.137462880462408] Failed to read output from testmodel.py, exit status != 0: 0.04103919118642807 0.055368181 0.044447758000000004 Calling exit ...