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.0009404/0.0009404, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001602/0.001602, 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.9324/0.9324, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.6143/0.6143, allocations: 115 MB / 375.7 MB, free: 7.633 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.573e-06/1.573e-06, allocations: 0 / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.263e-05, allocations: 2.844 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001409/0.001431, allocations: 0.7702 MB / 482.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.002738, allocations: 1.391 MB / 483.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.002801, allocations: 1 kB / 483.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.002838, allocations: 12.8 kB / 483.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.002921, allocations: 17.91 kB / 483.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.003547, allocations: 314.3 kB / 484 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.003845, allocations: 361.6 kB / 484.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.003983, allocations: 45.41 kB / 484.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.004234, allocations: 230.6 kB / 484.6 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.004412, allocations: 107.4 kB / 484.7 MB, free: 9.934 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.004488, allocations: 31.78 kB / 484.8 MB, free: 9.934 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.004584, allocations: 46.81 kB / 484.8 MB, free: 9.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.004637, allocations: 72.72 kB / 484.9 MB, free: 9.891 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.004745, allocations: 112.7 kB / 485 MB, free: 9.836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.005011, allocations: 274.7 kB / 485.3 MB, free: 9.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005015, allocations: 5.75 kB / 485.3 MB, free: 9.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005016, allocations: 0 / 485.3 MB, free: 9.707 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.005022, allocations: 0 / 485.3 MB, free: 9.707 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.0005223/0.005544, allocations: 0.5627 MB / 485.8 MB, free: 9.211 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.005582, allocations: 8.875 kB / 485.8 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.005682, allocations: 45.45 kB / 485.9 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.005865, allocations: 183.1 kB / 486.1 MB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.005895, allocations: 24.33 kB / 486.1 MB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.005936, allocations: 33.45 kB / 486.1 MB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.006192, allocations: 223.1 kB / 486.3 MB, free: 8.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.0062, allocations: 1.375 kB / 486.3 MB, free: 8.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.006223, allocations: 18.88 kB / 486.4 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.006231, allocations: 2.875 kB / 486.4 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.006351, allocations: 90.53 kB / 486.5 MB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.006843, allocations: 0.4967 MB / 487 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.007116, allocations: 174.5 kB / 487.1 MB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.007216, allocations: 82.11 kB / 487.2 MB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-06/0.007224, allocations: 3.5 kB / 487.2 MB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.007672, allocations: 0.5215 MB / 487.7 MB, free: 8.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 1.704e-06/0.007674, allocations: 0 / 487.7 MB, free: 8.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006334/0.008307, allocations: 0.5223 MB / 488.2 MB, free: 8.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.00834, allocations: 57.34 kB / 488.3 MB, free: 8.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.008424, allocations: 225.5 kB / 488.5 MB, free: 7.969 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.008468, allocations: 62.81 kB / 488.6 MB, free: 7.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.008668, allocations: 155.9 kB / 488.7 MB, free: 23.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.008716, allocations: 104.2 kB / 488.8 MB, free: 23.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.008841, allocations: 133.6 kB / 489 MB, free: 23.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.008952, allocations: 0.5041 MB / 489.5 MB, free: 23.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.009177, allocations: 199.6 kB / 489.7 MB, free: 23.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.009417, allocations: 342.2 kB / 490 MB, free: 22.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.009708, allocations: 370.1 kB / 490.4 MB, free: 22.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.009712, allocations: 0 / 490.4 MB, free: 22.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005865/0.0103, allocations: 0.6006 MB / 491 MB, free: 22.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.01034, allocations: 69.62 kB / 491 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.01035, allocations: 2.656 kB / 491 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01037, allocations: 6.844 kB / 491 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.256e-05/0.01041, allocations: 26.19 kB / 491.1 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.01042, allocations: 12.28 kB / 491.1 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.01066, allocations: 65.77 kB / 491.1 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.01069, allocations: 32.72 kB / 491.2 MB, free: 22.1 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.0001506/0.01084, allocations: 220.6 kB / 491.4 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.0109, allocations: 52.88 kB / 491.4 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.01095, allocations: 37.16 kB / 491.5 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.01096, allocations: 10.91 kB / 491.5 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.01097, allocations: 0 / 491.5 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01098, allocations: 2.406 kB / 491.5 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007262/0.01171, allocations: 0.777 MB / 492.3 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01171, allocations: 0 / 492.3 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.01173, allocations: 21.16 kB / 492.3 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01173, allocations: 2.562 kB / 492.3 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.01176, allocations: 21.02 kB / 492.3 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01176, allocations: 1.438 kB / 492.3 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01176, allocations: 4.844 kB / 492.3 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.01225, allocations: 0.5618 MB / 492.9 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.01227, allocations: 24.41 kB / 492.9 MB, free: 21.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.01233, allocations: 25.78 kB / 492.9 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.61e-05/0.01239, allocations: 10.88 kB / 492.9 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.0125, allocations: 55.95 kB / 493 MB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.01254, allocations: 35.52 kB / 493 MB, free: 21.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.551e-05/0.0126, allocations: 145.6 kB / 493.2 MB, free: 20.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0126, allocations: 0.625 kB / 493.2 MB, free: 20.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003413/0.01294, allocations: 100.1 kB / 493.3 MB, free: 20.91 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.0001966/0.01314, allocations: 140.8 kB / 493.4 MB, free: 20.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005047/0.01364, allocations: 0.5332 MB / 493.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01365, allocations: 0 / 493.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.01381, allocations: 164.3 kB / 494.1 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.01408, allocations: 57.97 kB / 494.2 MB, free: 20.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.01466, allocations: 409 kB / 494.6 MB, free: 20.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.044e-05/0.01471, allocations: 89.28 kB / 494.6 MB, free: 20.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.872e-05/0.0148, allocations: 38.2 kB / 494.7 MB, free: 20.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.0149, allocations: 52.3 kB / 494.7 MB, free: 20.15 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.0149, allocations: 0 / 494.7 MB, free: 20.15 MB / 426.7 MB Notification: Performance of Templates: time 0.008761/0.02367, allocations: 5.026 MB / 499.8 MB, free: 19.67 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.638607000000775]