Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.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.0009316/0.0009316, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.000948/0.000948, allocations: 169 kB / 24.14 MB, free: 356 kB / 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 0.9953/0.9953, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.6275/0.6275, allocations: 115 MB / 376 MB, free: 7.492 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.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 428.8 MB, free: 2.738 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.602e-05, allocations: 2.312 kB / 428.8 MB, free: 2.734 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001326/0.001342, allocations: 0.801 MB / 429.6 MB, free: 1.934 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.002752, allocations: 1.388 MB / 431 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.002811, allocations: 4 kB / 431 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.002838, allocations: 11.88 kB / 431 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.002902, allocations: 23.72 kB / 431 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.003419, allocations: 307.2 kB / 431.3 MB, free: 196 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.003698, allocations: 363.5 kB / 431.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003799, allocations: 41.92 kB / 431.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.003996, allocations: 235.6 kB / 431.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.00413, allocations: 107.7 kB / 432 MB, free: 15.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.004168, allocations: 36 kB / 432.1 MB, free: 15.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.241e-05/0.00425, allocations: 47.92 kB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.004296, allocations: 71.83 kB / 432.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.004372, allocations: 107.8 kB / 432.3 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.004596, allocations: 275.2 kB / 432.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004597, allocations: 0 / 432.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004598, allocations: 4 kB / 432.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004602, allocations: 4 kB / 432.6 MB, free: 14.92 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004341/0.005036, allocations: 447.7 kB / 433 MB, free: 14.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.005065, allocations: 8.031 kB / 433 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.005123, allocations: 48.88 kB / 433.1 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.00529, allocations: 153.6 kB / 433.2 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.005312, allocations: 24.36 kB / 433.2 MB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.00535, allocations: 40.36 kB / 433.3 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.005524, allocations: 198.6 kB / 433.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.00553, allocations: 192 / 433.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.005549, allocations: 20.28 kB / 433.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005553, allocations: 4.375 kB / 433.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.983e-05/0.005613, allocations: 59.91 kB / 433.5 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.005999, allocations: 299.9 kB / 433.8 MB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.006161, allocations: 146.4 kB / 434 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.006216, allocations: 52.83 kB / 434 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.006222, allocations: 4 kB / 434 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/0.006598, allocations: 0.4983 MB / 434.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 1.423e-06/0.006599, allocations: 0 / 434.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0003035/0.006903, allocations: 313.4 kB / 434.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.006936, allocations: 63.36 kB / 434.9 MB, free: 12.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.007021, allocations: 161.6 kB / 435.1 MB, free: 12.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.007069, allocations: 65.69 kB / 435.1 MB, free: 12.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.00712, allocations: 113 kB / 435.2 MB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.007178, allocations: 123.2 kB / 435.4 MB, free: 11.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.007293, allocations: 118.3 kB / 435.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.007385, allocations: 338.8 kB / 435.8 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.007511, allocations: 148.7 kB / 436 MB, free: 11.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.007674, allocations: 265.5 kB / 436.2 MB, free: 11.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.007882, allocations: 320 kB / 436.5 MB, free: 10.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.007886, allocations: 3.938 kB / 436.5 MB, free: 10.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003294/0.008215, allocations: 461.2 kB / 437 MB, free: 10.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.008251, allocations: 67.39 kB / 437 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.008255, allocations: 4 kB / 437 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.008267, allocations: 8 kB / 437.1 MB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/0.008315, allocations: 31.86 kB / 437.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.008322, allocations: 11.94 kB / 437.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.008497, allocations: 67.7 kB / 437.2 MB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.008525, allocations: 24.2 kB / 437.2 MB, free: 9.965 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,truCleFalIni.clr,truCleTruIni.clr,falCleFalIni.clr,falCleTruIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0001009/0.008626, allocations: 170.9 kB / 437.4 MB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.008665, allocations: 43.95 kB / 437.4 MB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.008703, allocations: 34.31 kB / 437.4 MB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.008707, allocations: 8 kB / 437.4 MB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.008711, allocations: 3.984 kB / 437.4 MB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.008714, allocations: 0 / 437.4 MB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.009127, allocations: 485.2 kB / 437.9 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.00913, allocations: 7.938 kB / 437.9 MB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.009156, allocations: 15.98 kB / 437.9 MB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.009158, allocations: 0 / 437.9 MB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.009177, allocations: 19.97 kB / 438 MB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.009181, allocations: 7.938 kB / 438 MB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.009184, allocations: 7.984 kB / 438 MB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.009396, allocations: 345.2 kB / 438.3 MB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.009407, allocations: 15.91 kB / 438.3 MB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.009452, allocations: 31.97 kB / 438.4 MB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.009501, allocations: 15.98 kB / 438.4 MB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.009586, allocations: 47.88 kB / 438.4 MB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.00961, allocations: 31.97 kB / 438.5 MB, free: 8.652 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.778e-05/0.009628, allocations: 24.78 kB / 438.5 MB, free: 8.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009628, allocations: 0 / 438.5 MB, free: 8.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.009843, allocations: 99.88 kB / 438.6 MB, free: 8.527 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (swiCleInp1.clr,swiCleInp.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCleTruIni.u,falCleTruIni.y,falCleFalIni.u,falCleFalIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.y,togInp.y) * Number of discrete states: 12 (falCleFalIni.u,falCleFalIni.y,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * 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.0001213/0.009964, allocations: 132.3 kB / 438.7 MB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.01031, allocations: 471.7 kB / 439.2 MB, free: 7.887 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.01031, allocations: 4 kB / 439.2 MB, free: 7.883 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.01043, allocations: 136.6 kB / 439.3 MB, free: 7.746 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.0106, allocations: 56.56 kB / 439.4 MB, free: 7.691 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.011, allocations: 390.2 kB / 439.7 MB, free: 7.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.243e-05/0.01105, allocations: 81.14 kB / 439.8 MB, free: 7.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.483e-05/0.01112, allocations: 38.97 kB / 439.9 MB, free: 7.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.01131, allocations: 127.3 kB / 440 MB, free: 7.016 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01131, allocations: 0 / 440 MB, free: 7.016 MB / 410.7 MB Notification: Performance of Templates: time 0.005788/0.0171, allocations: 5.106 MB / 445.1 MB, free: 1.926 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4861111100763083]