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.002558/0.002558, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002432/0.002432, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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 1.021/1.021, allocations: 115 MB / 375.3 MB, free: 7.578 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 2.044e-06/2.044e-06, allocations: 0.875 kB / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.778e-05, allocations: 3.5 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002596/0.002624, allocations: 0.7472 MB / 481.5 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.005239, allocations: 1.368 MB / 482.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.774e-05/0.005317, allocations: 6.594 kB / 482.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.005368, allocations: 15.23 kB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.005484, allocations: 19.8 kB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.006572, allocations: 310.7 kB / 483.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.00704, allocations: 362 kB / 483.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.00721, allocations: 37.14 kB / 483.6 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.007552, allocations: 218.1 kB / 483.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.007851, allocations: 113.1 kB / 484 MB, free: 10 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.007964, allocations: 36.47 kB / 484 MB, free: 10 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.008125, allocations: 54.23 kB / 484.1 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.058e-05/0.008216, allocations: 71.05 kB / 484.1 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.008421, allocations: 119.2 kB / 484.2 MB, free: 9.895 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.008983, allocations: 411.3 kB / 484.6 MB, free: 9.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.008987, allocations: 0.75 kB / 484.6 MB, free: 9.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.008988, allocations: 0 / 484.6 MB, free: 9.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.008994, allocations: 1 kB / 484.6 MB, free: 9.738 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.0009345/0.009929, allocations: 0.5674 MB / 485.2 MB, free: 9.242 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.009976, allocations: 13.94 kB / 485.2 MB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.01016, allocations: 45.92 kB / 485.3 MB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.01092, allocations: 205.3 kB / 485.5 MB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.01097, allocations: 21.81 kB / 485.5 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/0.01107, allocations: 32.78 kB / 485.5 MB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.01165, allocations: 241.8 kB / 485.8 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.01167, allocations: 192 / 485.8 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.01172, allocations: 19.72 kB / 485.8 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01172, allocations: 6.656 kB / 485.8 MB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.0121, allocations: 102.7 kB / 485.9 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.01347, allocations: 0.5146 MB / 486.4 MB, free: 24.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007926/0.01426, allocations: 264 kB / 486.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.01458, allocations: 116 kB / 486.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.0146, allocations: 7 kB / 486.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.01567, allocations: 0.5656 MB / 487.3 MB, free: 24.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.156e-06/0.01567, allocations: 0 / 487.3 MB, free: 24.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.00181/0.01748, allocations: 0.6049 MB / 488 MB, free: 24.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.01753, allocations: 59.94 kB / 488 MB, free: 24.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.01778, allocations: 234.2 kB / 488.2 MB, free: 23.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.01789, allocations: 62.64 kB / 488.3 MB, free: 23.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.01806, allocations: 169.1 kB / 488.5 MB, free: 23.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.01819, allocations: 113 kB / 488.6 MB, free: 23.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.0185, allocations: 150 kB / 488.7 MB, free: 23.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004082/0.01891, allocations: 0.5132 MB / 489.2 MB, free: 22.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006151/0.01953, allocations: 255 kB / 489.5 MB, free: 22.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000742/0.02027, allocations: 412.4 kB / 489.9 MB, free: 22.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.02108, allocations: 424.7 kB / 490.3 MB, free: 22.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.02109, allocations: 6.531 kB / 490.3 MB, free: 22.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001688/0.02277, allocations: 0.6808 MB / 491 MB, free: 21.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.462e-05/0.02284, allocations: 69.44 kB / 491.1 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.02285, allocations: 4.656 kB / 491.1 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/0.02288, allocations: 12.8 kB / 491.1 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.023, allocations: 30.05 kB / 491.1 MB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.02302, allocations: 5.562 kB / 491.1 MB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.02359, allocations: 67.33 kB / 491.2 MB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/0.02368, allocations: 33 kB / 491.2 MB, free: 21.81 MB / 426.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,fal.y,tru.y,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.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) * 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.0003338/0.02402, allocations: 228.5 kB / 491.4 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.02417, allocations: 51.58 kB / 491.5 MB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.02431, allocations: 38.47 kB / 491.5 MB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.02432, allocations: 5.156 kB / 491.5 MB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.02433, allocations: 0 / 491.5 MB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.02434, allocations: 3.375 kB / 491.5 MB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.02635, allocations: 0.8368 MB / 492.4 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.02636, allocations: 2.562 kB / 492.4 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.02642, allocations: 16.95 kB / 492.4 MB, free: 21.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.02643, allocations: 0.9688 kB / 492.4 MB, free: 21.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.02648, allocations: 24.17 kB / 492.4 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.02649, allocations: 4.484 kB / 492.4 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02649, allocations: 0 / 492.4 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.02781, allocations: 0.6221 MB / 493 MB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.02786, allocations: 18.06 kB / 493 MB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.02799, allocations: 26.23 kB / 493.1 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.0282, allocations: 11.03 kB / 493.1 MB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.0285, allocations: 77.42 kB / 493.2 MB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.0286, allocations: 31.69 kB / 493.2 MB, free: 20.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00017/0.02877, allocations: 150.7 kB / 493.3 MB, free: 20.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.02877, allocations: 1.75 kB / 493.3 MB, free: 20.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007968/0.02957, allocations: 92.75 kB / 493.4 MB, free: 20.56 MB / 426.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.0002959/0.02987, allocations: 147.8 kB / 493.6 MB, free: 20.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.03154, allocations: 0.6538 MB / 494.2 MB, free: 20.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.03154, allocations: 0 / 494.2 MB, free: 20.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005392/0.03208, allocations: 216.8 kB / 494.4 MB, free: 20.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.03272, allocations: 54.02 kB / 494.5 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.03398, allocations: 450.1 kB / 494.9 MB, free: 19.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.03411, allocations: 123.3 kB / 495.1 MB, free: 19.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.03434, allocations: 37.22 kB / 495.1 MB, free: 19.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.03458, allocations: 51.98 kB / 495.1 MB, free: 19.7 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03458, allocations: 0 / 495.1 MB, free: 19.7 MB / 426.7 MB Notification: Performance of Templates: time 0.01711/0.0517, allocations: 4.839 MB / 500 MB, free: 19.26 MB / 426.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.681590143009089]