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.001169/0.001169, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.00122/0.00122, allocations: 169 kB / 24.05 MB, free: 456 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 1.07/1.07, allocations: 177.1 MB / 204.5 MB, free: 5.273 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.6666/0.6666, allocations: 115 MB / 376 MB, free: 7.422 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 3.026e-06/3.026e-06, allocations: 0 / 482 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.112e-05, allocations: 4.281 kB / 482 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.00244/0.002471, allocations: 0.7527 MB / 482.7 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.004639, allocations: 1.384 MB / 484.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.004758, allocations: 2.156 kB / 484.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.306e-05/0.004811, allocations: 11.83 kB / 484.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.004933, allocations: 21.88 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.005941, allocations: 310.2 kB / 484.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.006493, allocations: 360.5 kB / 484.8 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.006679, allocations: 44.09 kB / 484.8 MB, free: 9.969 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.007092, allocations: 237.7 kB / 485.1 MB, free: 9.863 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.007353, allocations: 103.4 kB / 485.2 MB, free: 9.836 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/0.007449, allocations: 33.06 kB / 485.2 MB, free: 9.836 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.00758, allocations: 50.27 kB / 485.3 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.007655, allocations: 69.59 kB / 485.3 MB, free: 9.789 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.007806, allocations: 112.5 kB / 485.4 MB, free: 9.738 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.008218, allocations: 274.9 kB / 485.7 MB, free: 9.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.008221, allocations: 0 / 485.7 MB, free: 9.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.008223, allocations: 1.875 kB / 485.7 MB, free: 9.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.00823, allocations: 0 / 485.7 MB, free: 9.609 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.0007427/0.008972, allocations: 0.5694 MB / 486.3 MB, free: 9.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.009022, allocations: 11.53 kB / 486.3 MB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.00915, allocations: 47.28 kB / 486.3 MB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.009392, allocations: 180.8 kB / 486.5 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.009428, allocations: 20.8 kB / 486.5 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.009487, allocations: 38.14 kB / 486.6 MB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.009768, allocations: 200.6 kB / 486.8 MB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.009778, allocations: 192 / 486.8 MB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.009808, allocations: 19.88 kB / 486.8 MB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.009821, allocations: 7.062 kB / 486.8 MB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.009944, allocations: 65.36 kB / 486.9 MB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006377/0.01058, allocations: 485.9 kB / 487.3 MB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.01088, allocations: 160 kB / 487.5 MB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.01099, allocations: 69.59 kB / 487.6 MB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.011, allocations: 3.875 kB / 487.6 MB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005929/0.01159, allocations: 0.4998 MB / 488.1 MB, free: 8.332 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 2.746e-06/0.01159, allocations: 0 / 488.1 MB, free: 8.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007994/0.01239, allocations: 490.3 kB / 488.5 MB, free: 8.215 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.01242, allocations: 59.78 kB / 488.6 MB, free: 8.148 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.01275, allocations: 218.9 kB / 488.8 MB, free: 23.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.01282, allocations: 59.39 kB / 488.9 MB, free: 23.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.01292, allocations: 164.5 kB / 489 MB, free: 23.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.01301, allocations: 108.5 kB / 489.1 MB, free: 23.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.01321, allocations: 131.9 kB / 489.3 MB, free: 23.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.01339, allocations: 0.5043 MB / 489.8 MB, free: 23.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.01364, allocations: 162.8 kB / 489.9 MB, free: 23.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.01393, allocations: 322.7 kB / 490.2 MB, free: 22.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.0143, allocations: 346.1 kB / 490.6 MB, free: 22.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.0143, allocations: 1.219 kB / 490.6 MB, free: 22.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007601/0.01506, allocations: 0.5524 MB / 491.1 MB, free: 22.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.01512, allocations: 63.97 kB / 491.2 MB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.01513, allocations: 6.766 kB / 491.2 MB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.01515, allocations: 6.125 kB / 491.2 MB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.01521, allocations: 31.22 kB / 491.2 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.01522, allocations: 5.656 kB / 491.2 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.01554, allocations: 68.12 kB / 491.3 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.0156, allocations: 23.7 kB / 491.3 MB, free: 22.14 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,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.0001811/0.01578, allocations: 221.6 kB / 491.6 MB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.01586, allocations: 49.33 kB / 491.6 MB, free: 21.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.01593, allocations: 46.69 kB / 491.6 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.934e-06/0.01593, allocations: 3.969 kB / 491.6 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.01594, allocations: 1.5 kB / 491.6 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.01595, allocations: 3.422 kB / 491.7 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.01698, allocations: 0.7197 MB / 492.4 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.01698, allocations: 1.375 kB / 492.4 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.01702, allocations: 21.8 kB / 492.4 MB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.01703, allocations: 1.031 kB / 492.4 MB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.01706, allocations: 25.36 kB / 492.4 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.01706, allocations: 1.219 kB / 492.4 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01707, allocations: 1.281 kB / 492.4 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/0.01772, allocations: 0.5294 MB / 493 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.01774, allocations: 22.58 kB / 493 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.01781, allocations: 31.64 kB / 493 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/0.01791, allocations: 15.33 kB / 493 MB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.01804, allocations: 48.34 kB / 493.1 MB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.01807, allocations: 28.06 kB / 493.1 MB, free: 21.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.741e-05/0.01814, allocations: 151.3 kB / 493.2 MB, free: 21.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01814, allocations: 0 / 493.2 MB, free: 21.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004418/0.01858, allocations: 94.36 kB / 493.3 MB, free: 21.01 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.0002079/0.01879, allocations: 144.3 kB / 493.5 MB, free: 20.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.0194, allocations: 499.2 kB / 494 MB, free: 20.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01941, allocations: 1.406 kB / 494 MB, free: 20.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.0196, allocations: 149.8 kB / 494.1 MB, free: 20.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.01985, allocations: 57.98 kB / 494.2 MB, free: 20.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.02036, allocations: 391.8 kB / 494.6 MB, free: 20.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.721e-05/0.0204, allocations: 83.16 kB / 494.6 MB, free: 20.31 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.333e-05/0.02049, allocations: 38.8 kB / 494.7 MB, free: 20.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.02071, allocations: 162.3 kB / 494.8 MB, free: 20.23 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02071, allocations: 3.938 kB / 494.8 MB, free: 20.22 MB / 426.7 MB Notification: Performance of Templates: time 0.008047/0.02876, allocations: 5.111 MB / 499.9 MB, free: 19.75 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.685459824744612]