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.001113/0.001113, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001748/0.001748, allocations: 169 kB / 24.25 MB, free: 304 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.9735/0.9735, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.6285/0.6285, allocations: 115 MB / 376 MB, free: 7.66 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.503e-06/1.503e-06, allocations: 3.938 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.446e-05, allocations: 4 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001106/0.001121, allocations: 0.7535 MB / 482.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.002214, allocations: 1.388 MB / 483.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.002266, allocations: 2.438 kB / 483.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.002295, allocations: 13 kB / 483.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.002358, allocations: 16.84 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.002835, allocations: 315.8 kB / 484 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.003068, allocations: 362.6 kB / 484.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.003173, allocations: 45.03 kB / 484.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.003338, allocations: 219.3 kB / 484.6 MB, free: 10 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.003467, allocations: 111.5 kB / 484.7 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.003515, allocations: 36.09 kB / 484.8 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.969e-05/0.003595, allocations: 47.28 kB / 484.8 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.003641, allocations: 79.56 kB / 484.9 MB, free: 9.918 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.928e-05/0.00373, allocations: 119.2 kB / 485 MB, free: 9.859 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.003966, allocations: 287 kB / 485.3 MB, free: 9.727 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003968, allocations: 3.938 kB / 485.3 MB, free: 9.723 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003968, allocations: 1.781 kB / 485.3 MB, free: 9.723 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.778e-06/0.003972, allocations: 0 / 485.3 MB, free: 9.723 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.0004603/0.004433, allocations: 0.5681 MB / 485.9 MB, free: 9.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.004465, allocations: 13.03 kB / 485.9 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.004555, allocations: 42.17 kB / 485.9 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.004874, allocations: 200.7 kB / 486.1 MB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.004903, allocations: 19.61 kB / 486.1 MB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.004945, allocations: 39.28 kB / 486.2 MB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.005171, allocations: 225.4 kB / 486.4 MB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005179, allocations: 192 / 486.4 MB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.005201, allocations: 15.45 kB / 486.4 MB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.005209, allocations: 6.656 kB / 486.4 MB, free: 8.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.005318, allocations: 80.45 kB / 486.5 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.005767, allocations: 0.4975 MB / 487 MB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.006029, allocations: 177.7 kB / 487.2 MB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.741e-05/0.006126, allocations: 76.11 kB / 487.2 MB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.006135, allocations: 2.438 kB / 487.2 MB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/0.006595, allocations: 0.5217 MB / 487.8 MB, free: 8.391 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 1.633e-06/0.006596, allocations: 0.625 kB / 487.8 MB, free: 8.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006485/0.007245, allocations: 0.527 MB / 488.3 MB, free: 8.246 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.007274, allocations: 60.06 kB / 488.3 MB, free: 8.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.007457, allocations: 220.4 kB / 488.6 MB, free: 23.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.007499, allocations: 59.05 kB / 488.6 MB, free: 23.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.007557, allocations: 156.2 kB / 488.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.007603, allocations: 107.6 kB / 488.9 MB, free: 23.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.007716, allocations: 134.9 kB / 489 MB, free: 23.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.007818, allocations: 0.5082 MB / 489.5 MB, free: 23.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.008019, allocations: 198.2 kB / 489.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.00825, allocations: 346.3 kB / 490 MB, free: 22.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.008508, allocations: 364.5 kB / 490.4 MB, free: 22.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.008512, allocations: 0 / 490.4 MB, free: 22.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005672/0.009079, allocations: 0.6073 MB / 491 MB, free: 22.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.009108, allocations: 64 kB / 491.1 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.009115, allocations: 3.406 kB / 491.1 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.00913, allocations: 6.781 kB / 491.1 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.535e-05/0.009166, allocations: 28.83 kB / 491.1 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.009174, allocations: 8.719 kB / 491.1 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.009346, allocations: 70.48 kB / 491.2 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.009378, allocations: 33.14 kB / 491.2 MB, free: 22.11 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.000116/0.009494, allocations: 226.1 kB / 491.4 MB, free: 21.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.009545, allocations: 51.47 kB / 491.5 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.009588, allocations: 38.84 kB / 491.5 MB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.009592, allocations: 4 kB / 491.5 MB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.009597, allocations: 0 / 491.5 MB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.009602, allocations: 4.609 kB / 491.5 MB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/0.01025, allocations: 0.7712 MB / 492.3 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01025, allocations: 3.469 kB / 492.3 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/0.01027, allocations: 18 kB / 492.3 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01028, allocations: 2.5 kB / 492.3 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.0103, allocations: 26.95 kB / 492.4 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0103, allocations: 1.25 kB / 492.4 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0103, allocations: 1.062 kB / 492.4 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.01074, allocations: 0.5638 MB / 492.9 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.01076, allocations: 21.8 kB / 492.9 MB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.01081, allocations: 26.19 kB / 493 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.01086, allocations: 10.86 kB / 493 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.01095, allocations: 57.97 kB / 493 MB, free: 21.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.01098, allocations: 33.12 kB / 493.1 MB, free: 21.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.986e-05/0.01103, allocations: 140.4 kB / 493.2 MB, free: 20.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01103, allocations: 0 / 493.2 MB, free: 20.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.01128, allocations: 99.86 kB / 493.3 MB, free: 20.93 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.0001339/0.01141, allocations: 143.8 kB / 493.4 MB, free: 20.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005059/0.01192, allocations: 0.5336 MB / 494 MB, free: 20.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01192, allocations: 0.5938 kB / 494 MB, free: 20.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.01208, allocations: 165.1 kB / 494.1 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01231, allocations: 56.78 kB / 494.2 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.0128, allocations: 417.7 kB / 494.6 MB, free: 20.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.931e-05/0.01284, allocations: 81.48 kB / 494.7 MB, free: 20.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.91e-05/0.01292, allocations: 37.75 kB / 494.7 MB, free: 20.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.01301, allocations: 50.88 kB / 494.8 MB, free: 20.17 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01301, allocations: 0 / 494.8 MB, free: 20.17 MB / 426.7 MB Notification: Performance of Templates: time 0.006521/0.01953, allocations: 4.842 MB / 499.6 MB, free: 19.73 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: 3.789714002981782]