Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.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.00092/0.00092, allocations: 96.09 kB / 20.43 MB, free: 4.141 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.001011/0.001011, allocations: 165 kB / 23.79 MB, free: 0.7773 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.045/1.045, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6177/0.6177, allocations: 115 MB / 375.7 MB, free: 7.656 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.715e-05, allocations: 2.906 kB / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.00148/0.001507, allocations: 0.8206 MB / 482.3 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.00279, allocations: 1.34 MB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.002849, allocations: 2.219 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.002885, allocations: 7.875 kB / 483.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.002972, allocations: 31.09 kB / 483.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006554/0.003628, allocations: 313.4 kB / 484 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.003896, allocations: 290.8 kB / 484.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.004014, allocations: 26.98 kB / 484.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.004177, allocations: 163.9 kB / 484.5 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.004314, allocations: 92.62 kB / 484.6 MB, free: 10 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.004356, allocations: 25.69 kB / 484.6 MB, free: 10 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-05/0.004434, allocations: 33.28 kB / 484.6 MB, free: 10 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.004462, allocations: 27.89 kB / 484.7 MB, free: 9.984 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.004545, allocations: 81.17 kB / 484.7 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.004792, allocations: 235 kB / 485 MB, free: 9.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.004796, allocations: 3 kB / 485 MB, free: 9.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.004797, allocations: 0 / 485 MB, free: 9.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.004802, allocations: 0 / 485 MB, free: 9.836 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004779/0.00528, allocations: 0.5428 MB / 485.5 MB, free: 9.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.00532, allocations: 10.72 kB / 485.5 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.832e-05/0.005399, allocations: 32.86 kB / 485.6 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.518e-05/0.005474, allocations: 125.8 kB / 485.7 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.005501, allocations: 16.48 kB / 485.7 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.005535, allocations: 17 kB / 485.7 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.005664, allocations: 99.38 kB / 485.8 MB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.005674, allocations: 1.062 kB / 485.8 MB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.005685, allocations: 1.375 kB / 485.8 MB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.005693, allocations: 2.625 kB / 485.8 MB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.99e-05/0.005753, allocations: 29 kB / 485.9 MB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.006237, allocations: 434.7 kB / 486.3 MB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.006428, allocations: 58.58 kB / 486.3 MB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.006475, allocations: 24.2 kB / 486.4 MB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.006484, allocations: 2.5 kB / 486.4 MB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.006651, allocations: 130 kB / 486.5 MB, free: 8.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.705e-06/0.006654, allocations: 4.672 kB / 486.5 MB, free: 8.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000359/0.007013, allocations: 148.2 kB / 486.6 MB, free: 8.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.00704, allocations: 59.03 kB / 486.7 MB, free: 8.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.007134, allocations: 215.1 kB / 486.9 MB, free: 8.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.00716, allocations: 35.77 kB / 486.9 MB, free: 8.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.007386, allocations: 157.7 kB / 487.1 MB, free: 24.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.007407, allocations: 26.97 kB / 487.1 MB, free: 24.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-05/0.007506, allocations: 86.75 kB / 487.2 MB, free: 24.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.007626, allocations: 0.4944 MB / 487.7 MB, free: 23.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.007836, allocations: 169.9 kB / 487.9 MB, free: 23.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.008092, allocations: 240.5 kB / 488.1 MB, free: 23.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.008282, allocations: 250.9 kB / 488.3 MB, free: 23.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.008285, allocations: 0 / 488.3 MB, free: 23.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004588/0.008744, allocations: 474.3 kB / 488.8 MB, free: 22.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.008796, allocations: 104.2 kB / 488.9 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.008804, allocations: 3.812 kB / 488.9 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.00882, allocations: 1.75 kB / 488.9 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.008878, allocations: 17.05 kB / 488.9 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.008885, allocations: 6.422 kB / 488.9 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.009105, allocations: 69.78 kB / 489 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.009135, allocations: 19.48 kB / 489 MB, free: 22.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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 9.516e-05/0.00923, allocations: 178.1 kB / 489.2 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.009249, allocations: 17.5 kB / 489.2 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.009282, allocations: 22.05 kB / 489.2 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.009287, allocations: 2.469 kB / 489.2 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.009292, allocations: 1 kB / 489.2 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.009297, allocations: 0 / 489.2 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.009435, allocations: 156.1 kB / 489.4 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.009437, allocations: 0.7188 kB / 489.4 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.009478, allocations: 11.2 kB / 489.4 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009481, allocations: 3.094 kB / 489.4 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.00949, allocations: 5.344 kB / 489.4 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.009493, allocations: 5.375 kB / 489.4 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.009494, allocations: 0 / 489.4 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.009658, allocations: 166.5 kB / 489.6 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.00967, allocations: 8.047 kB / 489.6 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.009685, allocations: 8.062 kB / 489.6 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.725e-05/0.009702, allocations: 6.156 kB / 489.6 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.009739, allocations: 15.41 kB / 489.6 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.009748, allocations: 4.688 kB / 489.6 MB, free: 22.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.639e-05/0.009814, allocations: 147 kB / 489.8 MB, free: 22.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009814, allocations: 0 / 489.8 MB, free: 22.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.01004, allocations: 52.14 kB / 489.8 MB, free: 22.03 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001533/0.01019, allocations: 108.4 kB / 489.9 MB, free: 21.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.01055, allocations: 428 kB / 490.3 MB, free: 21.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01055, allocations: 0.7188 kB / 490.3 MB, free: 21.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.389e-05/0.0106, allocations: 48.34 kB / 490.4 MB, free: 21.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.01085, allocations: 31.39 kB / 490.4 MB, free: 21.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.01121, allocations: 240.2 kB / 490.7 MB, free: 21.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.636e-05/0.01124, allocations: 68.12 kB / 490.7 MB, free: 21.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.43e-05/0.01128, allocations: 12.09 kB / 490.7 MB, free: 21.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.01131, allocations: 14.41 kB / 490.7 MB, free: 21.32 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01131, allocations: 0 / 490.7 MB, free: 21.32 MB / 426.7 MB Notification: Performance of Templates: time 0.006558/0.01787, allocations: 3.036 MB / 493.8 MB, free: 21.05 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.797967200167477]