Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.001319/0.001319, allocations: 92.22 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001164/0.001164, allocations: 169 kB / 23.8 MB, free: 0.7656 MB / 18.57 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/1, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 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.6109/0.6109, allocations: 115 MB / 375.7 MB, free: 7.617 MB / 346.7 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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 481.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.419e-05, allocations: 3.969 kB / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001671/0.001695, allocations: 0.8411 MB / 482.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.003301, allocations: 1.5 MB / 483.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.00337, allocations: 2.344 kB / 483.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.003838, allocations: 205.8 kB / 484.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.003958, allocations: 118 kB / 484.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00072/0.004678, allocations: 354.8 kB / 484.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007074/0.005385, allocations: 0.8753 MB / 485.4 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.005533, allocations: 65.33 kB / 485.5 MB, free: 9.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.005925, allocations: 445.1 kB / 485.9 MB, free: 9.496 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.006256, allocations: 272.7 kB / 486.2 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.006367, allocations: 44.91 kB / 486.2 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.006609, allocations: 123.6 kB / 486.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003578/0.006967, allocations: 364.5 kB / 486.7 MB, free: 9.277 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.007179, allocations: 204.8 kB / 486.9 MB, free: 9.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000682/0.007861, allocations: 0.7055 MB / 487.6 MB, free: 8.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.007864, allocations: 0 / 487.6 MB, free: 8.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007865, allocations: 2.125 kB / 487.6 MB, free: 8.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.007871, allocations: 0 / 487.6 MB, free: 8.906 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001034/0.008905, allocations: 0.8842 MB / 488.5 MB, free: 8.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.008946, allocations: 11.28 kB / 488.5 MB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.009135, allocations: 67.25 kB / 488.6 MB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.009669, allocations: 430.2 kB / 489 MB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.009696, allocations: 21.27 kB / 489 MB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.536e-05/0.009792, allocations: 39.3 kB / 489 MB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.01009, allocations: 190.3 kB / 489.2 MB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.0101, allocations: 192 / 489.2 MB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.01012, allocations: 3.281 kB / 489.2 MB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.01013, allocations: 3.344 kB / 489.2 MB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.01027, allocations: 83.86 kB / 489.3 MB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.01164, allocations: 1.078 MB / 490.4 MB, free: 23.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.012, allocations: 252.5 kB / 490.6 MB, free: 22.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.01213, allocations: 80.89 kB / 490.7 MB, free: 22.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.01214, allocations: 4.406 kB / 490.7 MB, free: 22.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.01247, allocations: 282 kB / 491 MB, free: 22.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.01247, allocations: 1.25 kB / 491 MB, free: 22.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.000723/0.01319, allocations: 446.3 kB / 491.4 MB, free: 22.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.01324, allocations: 110.6 kB / 491.5 MB, free: 22.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/0.01375, allocations: 0.5128 MB / 492.1 MB, free: 22.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/0.01383, allocations: 46.39 kB / 492.1 MB, free: 22.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.01405, allocations: 276.3 kB / 492.4 MB, free: 21.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.01409, allocations: 56.66 kB / 492.4 MB, free: 21.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.01431, allocations: 189 kB / 492.6 MB, free: 21.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.01449, allocations: 0.5501 MB / 493.2 MB, free: 21.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.01459, allocations: 61.31 kB / 493.2 MB, free: 21.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008418/0.01543, allocations: 1.677 MB / 494.9 MB, free: 19.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.01568, allocations: 268.9 kB / 495.2 MB, free: 19.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.01568, allocations: 5.438 kB / 495.2 MB, free: 19.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000483/0.01617, allocations: 328.2 kB / 495.5 MB, free: 18.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.01619, allocations: 7.656 kB / 495.5 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.0162, allocations: 3.875 kB / 495.5 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.01621, allocations: 5.281 kB / 495.5 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.01638, allocations: 46.27 kB / 495.5 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.01639, allocations: 8.781 kB / 495.6 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.01697, allocations: 95.2 kB / 495.6 MB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.01699, allocations: 11.12 kB / 495.7 MB, free: 18.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001844/0.01717, allocations: 217.6 kB / 495.9 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.01724, allocations: 48.69 kB / 495.9 MB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.0173, allocations: 43.08 kB / 496 MB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.0173, allocations: 3.375 kB / 496 MB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.01731, allocations: 1.344 kB / 496 MB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.01731, allocations: 4.625 kB / 496 MB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.0176, allocations: 312.7 kB / 496.3 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.0176, allocations: 1.125 kB / 496.3 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.01762, allocations: 7.859 kB / 496.3 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.01762, allocations: 2.625 kB / 496.3 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.01764, allocations: 11.44 kB / 496.3 MB, free: 18.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.01764, allocations: 5.906 kB / 496.3 MB, free: 18.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01765, allocations: 1.344 kB / 496.3 MB, free: 18.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.0181, allocations: 420.4 kB / 496.7 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.01816, allocations: 48.19 kB / 496.8 MB, free: 18.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.01819, allocations: 7.125 kB / 496.8 MB, free: 18.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.01828, allocations: 9.984 kB / 496.8 MB, free: 18.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.01833, allocations: 23.11 kB / 496.8 MB, free: 18.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.01836, allocations: 18.12 kB / 496.8 MB, free: 18.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002907/0.01865, allocations: 321.1 kB / 497.1 MB, free: 18.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01865, allocations: 1.094 kB / 497.1 MB, free: 18.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004407/0.01909, allocations: 115.7 kB / 497.2 MB, free: 17.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002113/0.0193, allocations: 152.5 kB / 497.4 MB, free: 17.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.01968, allocations: 232.4 kB / 497.6 MB, free: 17.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01968, allocations: 0.5312 kB / 497.6 MB, free: 17.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.01982, allocations: 114.8 kB / 497.7 MB, free: 17.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.02011, allocations: 47.56 kB / 497.8 MB, free: 17.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008613/0.02097, allocations: 0.6807 MB / 498.5 MB, free: 17.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.091e-05/0.02105, allocations: 120.2 kB / 498.6 MB, free: 17.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.02121, allocations: 72.92 kB / 498.6 MB, free: 17.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.02129, allocations: 41.06 kB / 498.7 MB, free: 17.27 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02129, allocations: 0 / 498.7 MB, free: 17.27 MB / 426.7 MB Notification: Performance of Templates: time 0.01342/0.03471, allocations: 9.111 MB / 0.4959 GB, free: 13.07 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.665084315929562]