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.001142/0.001142, allocations: 84.33 kB / 20.94 MB, free: 3.598 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.001181/0.001181, allocations: 165 kB / 24.25 MB, free: 300 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.103/1.103, allocations: 177.1 MB / 204.6 MB, free: 5.242 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.7004/0.7004, allocations: 114.9 MB / 376 MB, free: 7.562 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.204e-06/2.204e-06, allocations: 0.5469 kB / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.092e-05, allocations: 3.578 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001556/0.001587, allocations: 0.8071 MB / 482.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.00284, allocations: 1.34 MB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.0029, allocations: 3.469 kB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.002934, allocations: 15.28 kB / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.003014, allocations: 22.62 kB / 483.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.003572, allocations: 309.1 kB / 484 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.00382, allocations: 288 kB / 484.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003934, allocations: 36.5 kB / 484.3 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.004093, allocations: 161.1 kB / 484.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.004231, allocations: 82.78 kB / 484.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.004276, allocations: 26.38 kB / 484.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.004356, allocations: 41.5 kB / 484.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.004386, allocations: 25.14 kB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.004473, allocations: 86.95 kB / 484.7 MB, free: 9.996 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.004709, allocations: 229.8 kB / 485 MB, free: 9.887 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.004713, allocations: 1.438 kB / 485 MB, free: 9.887 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.004714, allocations: 0.5938 kB / 485 MB, free: 9.887 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.004719, allocations: 1.25 kB / 485 MB, free: 9.887 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.0005177/0.005236, allocations: 0.5462 MB / 485.5 MB, free: 9.371 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.005278, allocations: 8.281 kB / 485.5 MB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.065e-05/0.005358, allocations: 28.28 kB / 485.5 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.005468, allocations: 136 kB / 485.7 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.005502, allocations: 10.59 kB / 485.7 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.005539, allocations: 20.69 kB / 485.7 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.005687, allocations: 97.58 kB / 485.8 MB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005696, allocations: 1.406 kB / 485.8 MB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.00571, allocations: 11.31 kB / 485.8 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.005718, allocations: 3.875 kB / 485.8 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/0.005778, allocations: 25.59 kB / 485.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.006262, allocations: 439.6 kB / 486.3 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.006437, allocations: 64.12 kB / 486.3 MB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.006475, allocations: 23.89 kB / 486.4 MB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.006483, allocations: 2.562 kB / 486.4 MB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.006617, allocations: 110 kB / 486.5 MB, free: 8.668 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.224e-06/0.006619, allocations: 0 / 486.5 MB, free: 8.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002811/0.0069, allocations: 156.7 kB / 486.6 MB, free: 8.605 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.006932, allocations: 58.36 kB / 486.7 MB, free: 8.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.007233, allocations: 210.6 kB / 486.9 MB, free: 24.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.007261, allocations: 41.73 kB / 486.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.007332, allocations: 152.9 kB / 487.1 MB, free: 24.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.007352, allocations: 31.64 kB / 487.1 MB, free: 24.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.249e-05/0.007445, allocations: 86.11 kB / 487.2 MB, free: 24.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.007568, allocations: 0.4922 MB / 487.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.007729, allocations: 169.7 kB / 487.9 MB, free: 23.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.007897, allocations: 244.7 kB / 488.1 MB, free: 23.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.008076, allocations: 247.9 kB / 488.3 MB, free: 23.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.008079, allocations: 1.062 kB / 488.3 MB, free: 23.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004643/0.008543, allocations: 476 kB / 488.8 MB, free: 22.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/0.008602, allocations: 98.98 kB / 488.9 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.00861, allocations: 4.547 kB / 488.9 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.008628, allocations: 4.5 kB / 488.9 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/0.008677, allocations: 12.47 kB / 488.9 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.008686, allocations: 8.109 kB / 488.9 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.008908, allocations: 63.77 kB / 489 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.008938, allocations: 21.52 kB / 489 MB, free: 22.7 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 0.0002008/0.009139, allocations: 173.9 kB / 489.2 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.00916, allocations: 23.75 kB / 489.2 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.009193, allocations: 15.41 kB / 489.2 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.009196, allocations: 1.844 kB / 489.2 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.0092, allocations: 4 kB / 489.2 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.009204, allocations: 0 / 489.2 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.009316, allocations: 163 kB / 489.4 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009318, allocations: 4 kB / 489.4 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.009346, allocations: 7.781 kB / 489.4 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.009349, allocations: 5.25 kB / 489.4 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.009358, allocations: 4.75 kB / 489.4 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.009361, allocations: 3.938 kB / 489.4 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009362, allocations: 2.656 kB / 489.4 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.009525, allocations: 164.8 kB / 489.6 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.009535, allocations: 6.859 kB / 489.6 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.009551, allocations: 5.766 kB / 489.6 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.00957, allocations: 9.062 kB / 489.6 MB, free: 22.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.009609, allocations: 11.78 kB / 489.6 MB, free: 22.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.009619, allocations: 11.73 kB / 489.6 MB, free: 22.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.63e-05/0.009675, allocations: 144.3 kB / 489.8 MB, free: 22.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009675, allocations: 0 / 489.8 MB, free: 22.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.00987, allocations: 51.7 kB / 489.8 MB, free: 22.07 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.0001565/0.01003, allocations: 113.6 kB / 489.9 MB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.01038, allocations: 419.6 kB / 490.3 MB, free: 21.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01039, allocations: 1.156 kB / 490.3 MB, free: 21.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/0.01044, allocations: 50.61 kB / 490.4 MB, free: 21.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.01065, allocations: 31.69 kB / 490.4 MB, free: 21.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.01102, allocations: 240.5 kB / 490.6 MB, free: 21.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.401e-05/0.01106, allocations: 69 kB / 490.7 MB, free: 21.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.31e-05/0.01109, allocations: 12.38 kB / 490.7 MB, free: 21.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.01112, allocations: 16.53 kB / 490.7 MB, free: 21.37 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01112, allocations: 0 / 490.7 MB, free: 21.37 MB / 426.7 MB Notification: Performance of Templates: time 0.004906/0.01602, allocations: 3.046 MB / 493.8 MB, free: 21.1 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.6555521360132843]