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.001042/0.001042, 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.001014/0.001014, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.9814/0.9814, allocations: 177.1 MB / 204.2 MB, free: 5.656 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.6365/0.6365, allocations: 114.9 MB / 375.7 MB, free: 7.656 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.232e-06/1.232e-06, allocations: 0 / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.477e-05, allocations: 6.438 kB / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001139/0.001154, allocations: 0.7636 MB / 482.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.002251, allocations: 1.388 MB / 483.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.002299, allocations: 1.094 kB / 483.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.00233, allocations: 11.81 kB / 483.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.00239, allocations: 18.89 kB / 483.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.002884, allocations: 315.1 kB / 484 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.003127, allocations: 365.5 kB / 484.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.00323, allocations: 44.19 kB / 484.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.00339, allocations: 218.2 kB / 484.6 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.003512, allocations: 113.6 kB / 484.7 MB, free: 9.926 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.003562, allocations: 37.88 kB / 484.8 MB, free: 9.926 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.269e-05/0.003634, allocations: 49.53 kB / 484.8 MB, free: 9.922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.003673, allocations: 68.67 kB / 484.9 MB, free: 9.883 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.003759, allocations: 120.5 kB / 485 MB, free: 9.824 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.003978, allocations: 295.1 kB / 485.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.00398, allocations: 0 / 485.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00398, allocations: 0 / 485.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.003985, allocations: 0.9688 kB / 485.3 MB, free: 9.688 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.0004345/0.004419, allocations: 0.5649 MB / 485.9 MB, free: 9.191 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.00445, allocations: 10.09 kB / 485.9 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.004537, allocations: 46.17 kB / 485.9 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.004844, allocations: 205 kB / 486.1 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.004871, allocations: 24.56 kB / 486.1 MB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.004914, allocations: 35.08 kB / 486.2 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.005159, allocations: 219 kB / 486.4 MB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.00517, allocations: 5.531 kB / 486.4 MB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.005193, allocations: 17.78 kB / 486.4 MB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.005204, allocations: 6.688 kB / 486.4 MB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.005328, allocations: 79.2 kB / 486.5 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.005837, allocations: 0.498 MB / 487 MB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.006087, allocations: 176 kB / 487.2 MB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.823e-05/0.006185, allocations: 75.62 kB / 487.2 MB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.006193, allocations: 7.062 kB / 487.2 MB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/0.006634, allocations: 0.5246 MB / 487.8 MB, free: 8.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 1.944e-06/0.006636, allocations: 4.609 kB / 487.8 MB, free: 8.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006181/0.007254, allocations: 0.5226 MB / 488.3 MB, free: 8.199 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.00728, allocations: 58.06 kB / 488.3 MB, free: 8.137 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.007489, allocations: 216.7 kB / 488.6 MB, free: 23.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.007532, allocations: 58.66 kB / 488.6 MB, free: 23.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.007591, allocations: 160.8 kB / 488.8 MB, free: 23.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.00764, allocations: 112.5 kB / 488.9 MB, free: 23.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.00776, allocations: 127.8 kB / 489 MB, free: 23.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.007853, allocations: 0.5093 MB / 489.5 MB, free: 23.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.008056, allocations: 200.5 kB / 489.7 MB, free: 23.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.008281, allocations: 339.3 kB / 490 MB, free: 22.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.008535, allocations: 370.3 kB / 490.4 MB, free: 22.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.008538, allocations: 3.656 kB / 490.4 MB, free: 22.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005448/0.009083, allocations: 0.5977 MB / 491 MB, free: 22.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.009116, allocations: 68.42 kB / 491.1 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.009122, allocations: 2.938 kB / 491.1 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.009139, allocations: 4.75 kB / 491.1 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-05/0.009178, allocations: 30.05 kB / 491.1 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.009187, allocations: 5.344 kB / 491.1 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.009368, allocations: 71.72 kB / 491.2 MB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.009406, allocations: 28.73 kB / 491.2 MB, free: 22.07 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.0001123/0.009518, allocations: 229.3 kB / 491.4 MB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.009568, allocations: 48.36 kB / 491.5 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.009612, allocations: 41.28 kB / 491.5 MB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.009616, allocations: 4.062 kB / 491.5 MB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.00962, allocations: 2 kB / 491.5 MB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.009624, allocations: 1.406 kB / 491.5 MB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/0.0103, allocations: 0.7756 MB / 492.3 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01031, allocations: 1.062 kB / 492.3 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.01033, allocations: 18.08 kB / 492.3 MB, free: 21.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.01033, allocations: 1.281 kB / 492.3 MB, free: 21.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.01035, allocations: 23.05 kB / 492.4 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01036, allocations: 5.469 kB / 492.4 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01036, allocations: 0 / 492.4 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.0108, allocations: 0.5645 MB / 492.9 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.01082, allocations: 18.41 kB / 492.9 MB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.01087, allocations: 26.09 kB / 493 MB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.01092, allocations: 10.98 kB / 493 MB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.01102, allocations: 64.89 kB / 493 MB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.01105, allocations: 34.03 kB / 493.1 MB, free: 21.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.834e-05/0.0111, allocations: 143.5 kB / 493.2 MB, free: 20.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0111, allocations: 0 / 493.2 MB, free: 20.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.01136, allocations: 97.23 kB / 493.3 MB, free: 20.89 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.0001359/0.01149, allocations: 144.2 kB / 493.5 MB, free: 20.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000509/0.012, allocations: 0.5278 MB / 494 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.012, allocations: 0 / 494 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.01217, allocations: 166.9 kB / 494.1 MB, free: 20.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.01241, allocations: 53.7 kB / 494.2 MB, free: 20.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.01288, allocations: 417.2 kB / 494.6 MB, free: 20.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.999e-05/0.01292, allocations: 84.91 kB / 494.7 MB, free: 20.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.468e-05/0.01299, allocations: 38.12 kB / 494.7 MB, free: 20.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.01309, allocations: 48.72 kB / 494.8 MB, free: 20.13 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01309, allocations: 0.9062 kB / 494.8 MB, free: 20.13 MB / 426.7 MB Notification: Performance of Templates: time 0.007955/0.02104, allocations: 4.836 MB / 499.6 MB, free: 19.7 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.8693885803222656]