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.0009131/0.0009131, allocations: 72.83 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.0009089/0.0009089, 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.9466/0.9466, allocations: 177.1 MB / 204.6 MB, free: 5.074 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.6057/0.6057, allocations: 115 MB / 376 MB, free: 7.414 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.723e-06/1.723e-06, allocations: 0 / 428.7 MB, free: 2.793 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.332e-05, allocations: 2.312 kB / 428.7 MB, free: 2.789 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001507/0.00152, allocations: 0.7617 MB / 429.5 MB, free: 2.027 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.002875, allocations: 1.396 MB / 430.9 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.002933, allocations: 0 / 430.9 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.00297, allocations: 11.86 kB / 430.9 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.433e-05/0.003055, allocations: 19.81 kB / 430.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.003663, allocations: 315.2 kB / 431.2 MB, free: 284 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.003936, allocations: 359.4 kB / 431.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.004047, allocations: 49.91 kB / 431.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.004239, allocations: 227.7 kB / 431.8 MB, free: 15.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.004381, allocations: 107.7 kB / 431.9 MB, free: 15.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.004422, allocations: 32 kB / 432 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.004493, allocations: 47.98 kB / 432 MB, free: 15.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.00454, allocations: 67.83 kB / 432.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.004621, allocations: 115.8 kB / 432.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.004844, allocations: 275.2 kB / 432.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004846, allocations: 0 / 432.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004847, allocations: 0 / 432.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.00485, allocations: 0 / 432.5 MB, free: 15.02 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.0004358/0.005285, allocations: 447.7 kB / 432.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.005316, allocations: 12.03 kB / 432.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.005377, allocations: 44.89 kB / 433 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.005548, allocations: 161.5 kB / 433.1 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.005573, allocations: 16.38 kB / 433.1 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.005612, allocations: 36.36 kB / 433.2 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.00579, allocations: 202.6 kB / 433.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.005796, allocations: 192 / 433.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.005815, allocations: 16.3 kB / 433.4 MB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.00582, allocations: 4.375 kB / 433.4 MB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.005889, allocations: 55.91 kB / 433.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.006302, allocations: 311.9 kB / 433.8 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.006467, allocations: 142.4 kB / 433.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.006524, allocations: 60.81 kB / 434 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.006531, allocations: 4 kB / 434 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.006898, allocations: 0.5022 MB / 434.5 MB, free: 12.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 1.482e-06/0.0069, allocations: 0 / 434.5 MB, free: 12.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0003148/0.007215, allocations: 309.4 kB / 434.8 MB, free: 12.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.007251, allocations: 63.36 kB / 434.8 MB, free: 12.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.007335, allocations: 166.1 kB / 435 MB, free: 12.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.007381, allocations: 53.7 kB / 435 MB, free: 12.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.007435, allocations: 117 kB / 435.2 MB, free: 12.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.007494, allocations: 107.2 kB / 435.3 MB, free: 12.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.007601, allocations: 130.2 kB / 435.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.007691, allocations: 342.8 kB / 435.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.007813, allocations: 144.7 kB / 435.9 MB, free: 11.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.007979, allocations: 265.4 kB / 436.1 MB, free: 11.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.008392, allocations: 320 kB / 436.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.008396, allocations: 3.938 kB / 436.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003404/0.008736, allocations: 457.3 kB / 436.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.008775, allocations: 67.39 kB / 436.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.008781, allocations: 4 kB / 437 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.008792, allocations: 7.938 kB / 437 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.983e-05/0.008832, allocations: 27.86 kB / 437 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.008838, allocations: 7.938 kB / 437 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.009024, allocations: 75.69 kB / 437.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.009051, allocations: 20 kB / 437.1 MB, free: 10.07 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.0001261/0.009177, allocations: 175 kB / 437.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.009223, allocations: 51.94 kB / 437.3 MB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.009262, allocations: 34.31 kB / 437.3 MB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.009265, allocations: 4 kB / 437.3 MB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.009268, allocations: 0 / 437.3 MB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.009272, allocations: 4 kB / 437.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.009703, allocations: 489.2 kB / 437.8 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.009704, allocations: 3.938 kB / 437.8 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.009722, allocations: 12 kB / 437.8 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.009724, allocations: 0 / 437.8 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.009743, allocations: 23.95 kB / 437.9 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.009747, allocations: 7.938 kB / 437.9 MB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.009749, allocations: 3.984 kB / 437.9 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.009977, allocations: 345.2 kB / 438.2 MB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.009988, allocations: 11.91 kB / 438.2 MB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.01003, allocations: 27.98 kB / 438.3 MB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.01009, allocations: 16 kB / 438.3 MB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.01017, allocations: 47.88 kB / 438.3 MB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.01019, allocations: 27.97 kB / 438.3 MB, free: 8.766 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.197e-05/0.01021, allocations: 32.81 kB / 438.4 MB, free: 8.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01021, allocations: 0 / 438.4 MB, free: 8.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000224/0.01043, allocations: 95.89 kB / 438.5 MB, free: 8.637 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.0001153/0.01055, allocations: 124.3 kB / 438.6 MB, free: 8.504 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003484/0.0109, allocations: 479.6 kB / 439.1 MB, free: 7.996 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.0109, allocations: 8 kB / 439.1 MB, free: 7.988 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.01102, allocations: 128.6 kB / 439.2 MB, free: 7.859 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.01119, allocations: 55.86 kB / 439.2 MB, free: 7.805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.0116, allocations: 386.9 kB / 439.6 MB, free: 7.398 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.01164, allocations: 85.14 kB / 439.7 MB, free: 7.293 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.243e-05/0.01171, allocations: 46.89 kB / 439.8 MB, free: 7.246 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.0119, allocations: 127.3 kB / 439.9 MB, free: 7.121 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0119, allocations: 0 / 439.9 MB, free: 7.121 MB / 410.7 MB Notification: Performance of Templates: time 0.005963/0.01786, allocations: 5.113 MB / 445 MB, free: 2.027 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4270074041560292]