Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001284/0.001284, allocations: 75.3 kB / 19.93 MB, free: 1.77 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.001408/0.001408, allocations: 170.3 kB / 23.22 MB, free: 4.887 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.386/1.386, allocations: 177.1 MB / 203.5 MB, free: 9.137 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.8951/0.8951, allocations: 114 MB / 373.9 MB, free: 13.22 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.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5547 GB, free: 2.582 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.854e-05, allocations: 6.219 kB / 0.5547 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003477/0.003495, allocations: 2.37 MB / 0.557 GB, free: 204 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.006443, allocations: 1.657 MB / 0.5587 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.006592, allocations: 11.88 kB / 0.5587 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.007214, allocations: 334.6 kB / 0.559 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007664/0.00798, allocations: 422.2 kB / 0.5594 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.008498, allocations: 291.2 kB / 0.5597 GB, free: 13.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009465/0.009445, allocations: 0.7866 MB / 0.5604 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.009596, allocations: 49.94 kB / 0.5605 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.01015, allocations: 426.8 kB / 0.5609 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.01057, allocations: 319.2 kB / 0.5612 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.31e-05/0.01065, allocations: 32 kB / 0.5612 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.01085, allocations: 91.86 kB / 0.5613 GB, free: 11.81 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.01109, allocations: 215.2 kB / 0.5615 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.01128, allocations: 151.4 kB / 0.5617 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008405/0.01212, allocations: 0.7669 MB / 0.5624 GB, free: 10.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01213, allocations: 0 / 0.5624 GB, free: 10.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01213, allocations: 0 / 0.5624 GB, free: 10.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.01213, allocations: 0 / 0.5624 GB, free: 10.68 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001603/0.01374, allocations: 0.9777 MB / 0.5634 GB, free: 9.664 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.01378, allocations: 12.62 kB / 0.5634 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.01393, allocations: 80.42 kB / 0.5634 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.01495, allocations: 0.5801 MB / 0.564 GB, free: 8.961 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.01498, allocations: 20.3 kB / 0.564 GB, free: 8.941 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.01501, allocations: 12.38 kB / 0.564 GB, free: 8.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.01547, allocations: 210.5 kB / 0.5642 GB, free: 8.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.01549, allocations: 4 kB / 0.5643 GB, free: 8.703 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.01551, allocations: 3.984 kB / 0.5643 GB, free: 8.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.01552, allocations: 7.938 kB / 0.5643 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.01581, allocations: 111.9 kB / 0.5644 GB, free: 8.582 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.01722, allocations: 0.9656 MB / 0.5653 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.0179, allocations: 281 kB / 0.5656 GB, free: 7.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.01814, allocations: 112.2 kB / 0.5657 GB, free: 7.125 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.01815, allocations: 4 kB / 0.5657 GB, free: 7.121 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004305/0.01858, allocations: 231.4 kB / 0.5659 GB, free: 6.867 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.01858, allocations: 0 / 0.5659 GB, free: 6.867 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.001066/0.01965, allocations: 458.1 kB / 0.5663 GB, free: 6.414 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.01975, allocations: 162.2 kB / 0.5665 GB, free: 6.219 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.0211, allocations: 1.087 MB / 0.5676 GB, free: 5.125 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.02114, allocations: 33.7 kB / 0.5676 GB, free: 5.086 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.02144, allocations: 309 kB / 0.5679 GB, free: 4.781 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.644e-05/0.02153, allocations: 79.38 kB / 0.568 GB, free: 4.703 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.02169, allocations: 114.1 kB / 0.5681 GB, free: 4.586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.02185, allocations: 333.8 kB / 0.5684 GB, free: 4.254 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.0222, allocations: 168.9 kB / 0.5686 GB, free: 4.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.02263, allocations: 267.2 kB / 0.5688 GB, free: 3.797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.02328, allocations: 377 kB / 0.5692 GB, free: 3.395 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.02328, allocations: 0 / 0.5692 GB, free: 3.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001062/0.02435, allocations: 0.586 MB / 0.5697 GB, free: 2.805 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.02436, allocations: 8.219 kB / 0.5698 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.02437, allocations: 4 kB / 0.5698 GB, free: 2.793 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.02439, allocations: 8 kB / 0.5698 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.02475, allocations: 91.89 kB / 0.5698 GB, free: 2.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.02476, allocations: 11.92 kB / 0.5699 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.02503, allocations: 39.83 kB / 0.5699 GB, free: 2.645 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.02507, allocations: 20 kB / 0.5699 GB, free: 2.625 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.000324/0.0254, allocations: 289.6 kB / 0.5702 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.0255, allocations: 79.48 kB / 0.5703 GB, free: 2.254 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000839/0.02634, allocations: 416 kB / 0.5707 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.02635, allocations: 7.938 kB / 0.5707 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.02636, allocations: 4 kB / 0.5707 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02636, allocations: 0 / 0.5707 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.02682, allocations: 388.9 kB / 0.571 GB, free: 1.414 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.02682, allocations: 0 / 0.571 GB, free: 1.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.503e-05/0.02692, allocations: 23.98 kB / 0.5711 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.02692, allocations: 4 kB / 0.5711 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.02694, allocations: 11.98 kB / 0.5711 GB, free: 1.375 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.02695, allocations: 8 kB / 0.5711 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.02695, allocations: 3.938 kB / 0.5711 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007727/0.02772, allocations: 440.2 kB / 0.5715 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.02787, allocations: 95.34 kB / 0.5716 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.02795, allocations: 8 kB / 0.5716 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.02814, allocations: 23.97 kB / 0.5716 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.0282, allocations: 23.91 kB / 0.5717 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.02823, allocations: 19.98 kB / 0.5717 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008473/0.02908, allocations: 0.6825 MB / 0.5723 GB, free: 56 kB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02908, allocations: 0 / 0.5723 GB, free: 56 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.02952, allocations: 119.9 kB / 0.5725 GB, free: 15.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001876/0.03139, allocations: 0.5078 MB / 0.573 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007427/0.03214, allocations: 343.6 kB / 0.5733 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.03214, allocations: 0 / 0.5733 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.03242, allocations: 115.8 kB / 0.5734 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.03336, allocations: 233.9 kB / 0.5736 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.03504, allocations: 1.158 MB / 0.5747 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.0354, allocations: 349.7 kB / 0.5751 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.03565, allocations: 125 kB / 0.5752 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.03581, allocations: 64.47 kB / 0.5753 GB, free: 13.27 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.03581, allocations: 0 / 0.5753 GB, free: 13.27 MB / 494.1 MB Notification: Performance of Templates: time 0.01607/0.05188, allocations: 8.66 MB / 0.5837 GB, free: 4.762 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.229344084858894] Failed to read output from testmodel.py, exit status != 0: 0.060241200029850006 0.07417704900000001 0.059109569 Calling exit ...