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.0007685/0.0007685, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001468/0.001468, allocations: 172.3 kB / 24.84 MB, free: 9.293 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.103/1.103, allocations: 177.2 MB / 205.3 MB, free: 5.484 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.6671/0.6671, allocations: 115 MB / 376.8 MB, free: 7.504 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.645e-06/2.645e-06, allocations: 0 / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.693e-05, allocations: 2.312 kB / 482.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002131/0.002158, allocations: 0.7573 MB / 483.5 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.003981, allocations: 1.391 MB / 484.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.004052, allocations: 1.75 kB / 484.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.004087, allocations: 13.41 kB / 484.9 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.00417, allocations: 17.55 kB / 484.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006708/0.004841, allocations: 311.7 kB / 485.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.005181, allocations: 361.6 kB / 485.6 MB, free: 9.957 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.005309, allocations: 45.47 kB / 485.7 MB, free: 9.938 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.005543, allocations: 218.5 kB / 485.9 MB, free: 9.848 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.005709, allocations: 114.6 kB / 486 MB, free: 9.809 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.526e-05/0.005775, allocations: 37.06 kB / 486 MB, free: 9.805 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.005859, allocations: 42.31 kB / 486.1 MB, free: 9.805 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.005913, allocations: 74.83 kB / 486.1 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.006015, allocations: 113.7 kB / 486.2 MB, free: 9.707 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.006308, allocations: 275.2 kB / 486.5 MB, free: 9.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.006311, allocations: 1.562 kB / 486.5 MB, free: 9.582 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.006313, allocations: 1.125 kB / 486.5 MB, free: 9.582 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.006319, allocations: 0 / 486.5 MB, free: 9.582 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.0005377/0.006856, allocations: 0.5678 MB / 487.1 MB, free: 9.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.006895, allocations: 9.594 kB / 487.1 MB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.006996, allocations: 41.98 kB / 487.1 MB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.007181, allocations: 189.3 kB / 487.3 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.00721, allocations: 21.2 kB / 487.3 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.007254, allocations: 33.28 kB / 487.4 MB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.007458, allocations: 204 kB / 487.6 MB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.007469, allocations: 1.469 kB / 487.6 MB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.007492, allocations: 14.14 kB / 487.6 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.0075, allocations: 5 kB / 487.6 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.65e-05/0.007586, allocations: 70.08 kB / 487.7 MB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.008042, allocations: 479.7 kB / 488.1 MB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.00826, allocations: 159.6 kB / 488.3 MB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.008334, allocations: 67.52 kB / 488.3 MB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.008343, allocations: 2.719 kB / 488.3 MB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004434/0.008787, allocations: 0.5023 MB / 488.8 MB, free: 8.309 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 1.913e-06/0.008789, allocations: 2.875 kB / 488.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0005786/0.009367, allocations: 485.7 kB / 489.3 MB, free: 8.191 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.009399, allocations: 59.83 kB / 489.4 MB, free: 8.129 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.009654, allocations: 221.1 kB / 489.6 MB, free: 23.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.009706, allocations: 59.61 kB / 489.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.009776, allocations: 156.7 kB / 489.8 MB, free: 23.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.009836, allocations: 111.9 kB / 489.9 MB, free: 23.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.009964, allocations: 133 kB / 490.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.01008, allocations: 0.5079 MB / 490.6 MB, free: 23.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.01024, allocations: 169.3 kB / 490.7 MB, free: 23.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.01043, allocations: 311.2 kB / 491 MB, free: 22.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.01068, allocations: 354 kB / 491.4 MB, free: 22.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01068, allocations: 1.312 kB / 491.4 MB, free: 22.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005105/0.01119, allocations: 0.5472 MB / 491.9 MB, free: 22.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.01123, allocations: 70.78 kB / 492 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.01124, allocations: 8.875 kB / 492 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01125, allocations: 4.688 kB / 492 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-05/0.0113, allocations: 22.59 kB / 492 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.0113, allocations: 13.67 kB / 492 MB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.01154, allocations: 67.94 kB / 492.1 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.01158, allocations: 27.94 kB / 492.1 MB, free: 22.11 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.0001467/0.01172, allocations: 226.1 kB / 492.4 MB, free: 21.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.01178, allocations: 47.89 kB / 492.4 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.01183, allocations: 40.08 kB / 492.4 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01184, allocations: 4.344 kB / 492.4 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.01184, allocations: 0 / 492.4 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01185, allocations: 3.938 kB / 492.4 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.01257, allocations: 0.7224 MB / 493.2 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01257, allocations: 0.75 kB / 493.2 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.01259, allocations: 12.7 kB / 493.2 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.0126, allocations: 6.938 kB / 493.2 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.01262, allocations: 20.86 kB / 493.2 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01262, allocations: 2.125 kB / 493.2 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.01262, allocations: 1.219 kB / 493.2 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.01307, allocations: 0.536 MB / 493.7 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.01309, allocations: 27.52 kB / 493.8 MB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.01315, allocations: 26.61 kB / 493.8 MB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.687e-05/0.0132, allocations: 10.97 kB / 493.8 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.01331, allocations: 56.08 kB / 493.9 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.01335, allocations: 29.2 kB / 493.9 MB, free: 21.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.337e-05/0.0134, allocations: 135.2 kB / 494 MB, free: 21 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0134, allocations: 0 / 494 MB, free: 21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003076/0.01371, allocations: 97.94 kB / 494.1 MB, free: 20.98 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.0001677/0.01387, allocations: 149 kB / 494.3 MB, free: 20.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005098/0.01438, allocations: 498.3 kB / 494.8 MB, free: 20.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01439, allocations: 0 / 494.8 MB, free: 20.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.01456, allocations: 154.8 kB / 494.9 MB, free: 20.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.01486, allocations: 59.39 kB / 495 MB, free: 20.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.01538, allocations: 393 kB / 495.3 MB, free: 20.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.01543, allocations: 82 kB / 495.4 MB, free: 20.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.244e-05/0.01552, allocations: 39.83 kB / 495.5 MB, free: 20.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.01574, allocations: 156.1 kB / 495.6 MB, free: 20.2 MB / 426.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01575, allocations: 0 / 495.6 MB, free: 20.2 MB / 426.7 MB Notification: Performance of Templates: time 0.008734/0.02448, allocations: 5.224 MB / 0.4891 GB, free: 19.68 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.691877926234156]