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.001752/0.001752, allocations: 92.72 kB / 20.21 MB, free: 4.195 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.00207/0.00207, allocations: 157.3 kB / 23.52 MB, free: 0.8906 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.559/1.559, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.027/1.027, allocations: 115 MB / 375.3 MB, free: 7.574 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.224e-06/2.224e-06, allocations: 0 / 480.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3.025e-05, allocations: 2.312 kB / 480.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002013/0.002043, allocations: 0.7364 MB / 481.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.003787, allocations: 1.359 MB / 482.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.00388, allocations: 3.281 kB / 482.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.543e-05/0.003925, allocations: 20.78 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.353e-05/0.004019, allocations: 21.2 kB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007774/0.004796, allocations: 313.6 kB / 483.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.0052, allocations: 358.8 kB / 483.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.005352, allocations: 37.23 kB / 483.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.0057, allocations: 220.1 kB / 483.8 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.005928, allocations: 110.2 kB / 483.9 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.006031, allocations: 36.5 kB / 484 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.006157, allocations: 50.77 kB / 484 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.00622, allocations: 71.36 kB / 484.1 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.006377, allocations: 120.8 kB / 484.2 MB, free: 9.922 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.006811, allocations: 411 kB / 484.6 MB, free: 9.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.006813, allocations: 1.438 kB / 484.6 MB, free: 9.766 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006814, allocations: 1.094 kB / 484.6 MB, free: 9.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.006823, allocations: 0 / 484.6 MB, free: 9.766 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.0008211/0.007644, allocations: 474.9 kB / 485.1 MB, free: 9.375 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.007686, allocations: 10.88 kB / 485.1 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.007854, allocations: 48.94 kB / 485.1 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.00845, allocations: 210.6 kB / 485.4 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.008494, allocations: 23.34 kB / 485.4 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.136e-05/0.008565, allocations: 36.86 kB / 485.4 MB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.008934, allocations: 222.9 kB / 485.6 MB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.008944, allocations: 192 / 485.6 MB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.008979, allocations: 14.78 kB / 485.6 MB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.008988, allocations: 7.656 kB / 485.7 MB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.009186, allocations: 94.39 kB / 485.7 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007946/0.00998, allocations: 447.8 kB / 486.2 MB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.0104, allocations: 194.7 kB / 486.4 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.01058, allocations: 91.55 kB / 486.5 MB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.0106, allocations: 3.844 kB / 486.5 MB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007792/0.01137, allocations: 0.5525 MB / 487 MB, free: 8.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 2.424e-06/0.01138, allocations: 1.25 kB / 487 MB, free: 8.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001013/0.01239, allocations: 0.5975 MB / 487.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.01242, allocations: 61.66 kB / 487.7 MB, free: 8.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.01253, allocations: 153.7 kB / 487.8 MB, free: 8.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.0126, allocations: 58.89 kB / 487.9 MB, free: 8.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.01267, allocations: 112.9 kB / 488 MB, free: 7.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.486e-05/0.01275, allocations: 112.1 kB / 488.1 MB, free: 7.848 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.01294, allocations: 119.9 kB / 488.2 MB, free: 7.793 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002695/0.01321, allocations: 341.4 kB / 488.6 MB, free: 23.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.01356, allocations: 251.7 kB / 488.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.01394, allocations: 356.3 kB / 489.1 MB, free: 23.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.01438, allocations: 373.1 kB / 489.5 MB, free: 22.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.01439, allocations: 1.406 kB / 489.5 MB, free: 22.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001016/0.0154, allocations: 0.6579 MB / 490.2 MB, free: 22.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.755e-05/0.01547, allocations: 68.3 kB / 490.2 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.01548, allocations: 3.594 kB / 490.2 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/0.01552, allocations: 8.812 kB / 490.3 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.0156, allocations: 24.05 kB / 490.3 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.01561, allocations: 9.25 kB / 490.3 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/0.01608, allocations: 80.25 kB / 490.4 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.01615, allocations: 32.34 kB / 490.4 MB, free: 22.35 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.0002473/0.0164, allocations: 186.7 kB / 490.6 MB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.0165, allocations: 52.34 kB / 490.6 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.476e-05/0.0166, allocations: 36.84 kB / 490.7 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.0166, allocations: 5.75 kB / 490.7 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.01661, allocations: 0 / 490.7 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.01662, allocations: 4.438 kB / 490.7 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.01787, allocations: 0.7647 MB / 491.4 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01788, allocations: 0 / 491.4 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.01792, allocations: 12.39 kB / 491.4 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.01792, allocations: 1.094 kB / 491.4 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.01796, allocations: 28.02 kB / 491.5 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01797, allocations: 2.219 kB / 491.5 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.01797, allocations: 7.938 kB / 491.5 MB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007989/0.01877, allocations: 0.556 MB / 492 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.0188, allocations: 19.25 kB / 492.1 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-05/0.01888, allocations: 30.83 kB / 492.1 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.019, allocations: 10.58 kB / 492.1 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.01916, allocations: 72.81 kB / 492.2 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.01922, allocations: 33.3 kB / 492.2 MB, free: 21.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.675e-05/0.0193, allocations: 110.1 kB / 492.3 MB, free: 21.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0193, allocations: 0 / 492.3 MB, free: 21.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004933/0.0198, allocations: 92.36 kB / 492.4 MB, free: 21.26 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.0002593/0.02006, allocations: 142.8 kB / 492.5 MB, free: 21.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008876/0.02094, allocations: 0.5721 MB / 493.1 MB, free: 20.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.02095, allocations: 2.062 kB / 493.1 MB, free: 20.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.02123, allocations: 176 kB / 493.3 MB, free: 20.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.02163, allocations: 51.81 kB / 493.3 MB, free: 20.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.02244, allocations: 442.5 kB / 493.8 MB, free: 20.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.02254, allocations: 128.1 kB / 493.9 MB, free: 20.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.02268, allocations: 37.73 kB / 493.9 MB, free: 20.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.02283, allocations: 49.09 kB / 494 MB, free: 20.39 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02283, allocations: 0.5938 kB / 494 MB, free: 20.39 MB / 426.7 MB Notification: Performance of Templates: time 0.01166/0.03449, allocations: 4.841 MB / 498.8 MB, free: 19.96 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.809695109957829]