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.001351/0.001351, allocations: 84.56 kB / 19.94 MB, free: 1.777 MB / 14.72 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.00149/0.00149, allocations: 163.3 kB / 23.21 MB, free: 4.902 MB / 14.72 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.379/1.379, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.1 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.8932/0.8932, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 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.793e-06/1.793e-06, allocations: 0 / 0.5547 GB, free: 2.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.437e-05, allocations: 4.953 kB / 0.5547 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001734/0.001758, allocations: 0.7389 MB / 0.5554 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.00365, allocations: 1.361 MB / 0.5567 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.003708, allocations: 4 kB / 0.5567 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.238e-05/0.00375, allocations: 19.8 kB / 0.5568 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.085e-05/0.003821, allocations: 15.86 kB / 0.5568 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.004596, allocations: 317.6 kB / 0.5571 GB, free: 196 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.005025, allocations: 363.5 kB / 0.5574 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.005164, allocations: 41.27 kB / 0.5575 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.005427, allocations: 223.7 kB / 0.5577 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.005616, allocations: 115.7 kB / 0.5578 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/0.005687, allocations: 36 kB / 0.5578 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.005801, allocations: 51.98 kB / 0.5579 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.005879, allocations: 71.77 kB / 0.5579 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.006031, allocations: 123.8 kB / 0.5581 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.006499, allocations: 403 kB / 0.5584 GB, free: 14.79 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.006501, allocations: 0 / 0.5584 GB, free: 14.79 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006501, allocations: 0 / 0.5584 GB, free: 14.79 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.006505, allocations: 0 / 0.5584 GB, free: 14.79 MB / 478.1 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.0007644/0.007269, allocations: 481.1 kB / 0.5589 GB, free: 14.28 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.007303, allocations: 8.625 kB / 0.5589 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.007408, allocations: 36.83 kB / 0.5589 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.007968, allocations: 189.7 kB / 0.5591 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.008014, allocations: 28.36 kB / 0.5592 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.008097, allocations: 32.36 kB / 0.5592 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.008495, allocations: 221.3 kB / 0.5594 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.008506, allocations: 192 / 0.5594 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.008543, allocations: 24.27 kB / 0.5594 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.008554, allocations: 8.109 kB / 0.5594 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.008747, allocations: 91.95 kB / 0.5595 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.009516, allocations: 455.9 kB / 0.5599 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.009948, allocations: 197.9 kB / 0.5601 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.01013, allocations: 84.81 kB / 0.5602 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.01014, allocations: 11.92 kB / 0.5602 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008163/0.01095, allocations: 0.5492 MB / 0.5608 GB, free: 12.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.893e-06/0.01095, allocations: 4 kB / 0.5608 GB, free: 12.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001061/0.01201, allocations: 0.5753 MB / 0.5613 GB, free: 11.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.01207, allocations: 59.41 kB / 0.5614 GB, free: 11.63 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.01221, allocations: 151.1 kB / 0.5615 GB, free: 11.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.0123, allocations: 61.69 kB / 0.5616 GB, free: 11.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.0124, allocations: 117 kB / 0.5617 GB, free: 11.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.0125, allocations: 99.36 kB / 0.5618 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.0127, allocations: 130.3 kB / 0.5619 GB, free: 11.06 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.01288, allocations: 334.8 kB / 0.5622 GB, free: 10.72 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.01328, allocations: 252.5 kB / 0.5625 GB, free: 10.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/0.01376, allocations: 353.5 kB / 0.5628 GB, free: 10.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.01425, allocations: 364.2 kB / 0.5632 GB, free: 9.664 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01426, allocations: 4 kB / 0.5632 GB, free: 9.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009852/0.01524, allocations: 0.633 MB / 0.5638 GB, free: 8.996 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.0153, allocations: 63.39 kB / 0.5638 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.01531, allocations: 4 kB / 0.5639 GB, free: 8.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.01533, allocations: 4 kB / 0.5639 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.01541, allocations: 31.86 kB / 0.5639 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.01542, allocations: 8 kB / 0.5639 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.01582, allocations: 79.66 kB / 0.564 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.01588, allocations: 36.02 kB / 0.564 GB, free: 8.762 MB / 478.1 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.00021/0.01609, allocations: 182.8 kB / 0.5642 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.01615, allocations: 27.86 kB / 0.5642 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.01625, allocations: 42.3 kB / 0.5642 GB, free: 8.508 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.01626, allocations: 4 kB / 0.5642 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.01626, allocations: 0 / 0.5642 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01627, allocations: 3.984 kB / 0.5643 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.01743, allocations: 0.7696 MB / 0.565 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01743, allocations: 0 / 0.565 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.01747, allocations: 11.94 kB / 0.565 GB, free: 7.684 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.01748, allocations: 4 kB / 0.565 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.01752, allocations: 19.97 kB / 0.565 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.01752, allocations: 7.922 kB / 0.565 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.01752, allocations: 7.938 kB / 0.5651 GB, free: 7.645 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.01826, allocations: 0.5326 MB / 0.5656 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.01829, allocations: 23.8 kB / 0.5656 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.01838, allocations: 31.98 kB / 0.5656 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.01848, allocations: 15.98 kB / 0.5656 GB, free: 7.023 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.01865, allocations: 71.81 kB / 0.5657 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.0187, allocations: 31.97 kB / 0.5657 GB, free: 6.922 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.405e-05/0.01877, allocations: 109 kB / 0.5658 GB, free: 6.816 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01877, allocations: 0 / 0.5658 GB, free: 6.816 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.01916, allocations: 99.98 kB / 0.5659 GB, free: 6.719 MB / 478.1 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.0002304/0.01939, allocations: 139.2 kB / 0.5661 GB, free: 6.574 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008807/0.02027, allocations: 0.5711 MB / 0.5666 GB, free: 5.965 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02028, allocations: 0 / 0.5666 GB, free: 5.965 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.02056, allocations: 172.1 kB / 0.5668 GB, free: 5.797 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.02092, allocations: 42.27 kB / 0.5668 GB, free: 5.758 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.02168, allocations: 436.1 kB / 0.5673 GB, free: 5.305 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.02179, allocations: 125.4 kB / 0.5674 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.02191, allocations: 38.97 kB / 0.5674 GB, free: 5.125 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.02206, allocations: 52.45 kB / 0.5675 GB, free: 5.07 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.02206, allocations: 0 / 0.5675 GB, free: 5.07 MB / 478.1 MB Notification: Performance of Templates: time 0.0096/0.03166, allocations: 4.816 MB / 0.5722 GB, free: 352 kB / 478.1 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.141204342246056] Failed to read output from testmodel.py, exit status != 0: 0.03987795114517212 0.053793939000000006 0.044387736000000004 Calling exit ...