Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0011/0.0011, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001861/0.002961, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00115/0.00115, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002536, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.9585/0.9585, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09345/1.052, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.84/1.84, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5299/2.37, allocations: 127.1 MB / 0.7435 GB, free: 4.543 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7448 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.485e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001341/0.001356, allocations: 0.8749 MB / 0.7457 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.002457, allocations: 1.337 MB / 0.747 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.002507, allocations: 0 / 0.747 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.002533, allocations: 11.86 kB / 0.747 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.802e-05/0.002581, allocations: 23.08 kB / 0.747 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.003038, allocations: 318.8 kB / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.003307, allocations: 284.2 kB / 0.7476 GB, free: 440 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.00341, allocations: 34.2 kB / 0.7476 GB, free: 400 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.003588, allocations: 179.7 kB / 0.7478 GB, free: 220 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.003711, allocations: 79.8 kB / 0.7479 GB, free: 140 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.003747, allocations: 28 kB / 0.7479 GB, free: 112 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.822e-05/0.003835, allocations: 43.92 kB / 0.7479 GB, free: 68 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.00386, allocations: 26.73 kB / 0.748 GB, free: 44 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.308e-05/0.003933, allocations: 59.98 kB / 0.748 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.004114, allocations: 175.4 kB / 0.7482 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.004123, allocations: 0 / 0.7482 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.72e-07/0.004123, allocations: 0 / 0.7482 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.629e-06/0.004133, allocations: 4 kB / 0.7482 GB, free: 15.81 MB / 0.7292 GB 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.0004587/0.004592, allocations: 457.1 kB / 0.7486 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.004619, allocations: 8.031 kB / 0.7486 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.004666, allocations: 32.88 kB / 0.7487 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.004811, allocations: 143 kB / 0.7488 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.004829, allocations: 12.38 kB / 0.7488 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.004859, allocations: 24.31 kB / 0.7488 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.171e-05/0.004951, allocations: 90.23 kB / 0.7489 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.004957, allocations: 0 / 0.7489 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.004964, allocations: 0 / 0.7489 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.004968, allocations: 4 kB / 0.7489 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.004998, allocations: 25.64 kB / 0.7489 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.005299, allocations: 259.9 kB / 0.7492 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.005426, allocations: 48.58 kB / 0.7492 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.005448, allocations: 20.84 kB / 0.7493 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/0.005455, allocations: 4 kB / 0.7493 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.005559, allocations: 101.8 kB / 0.7494 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.00556, allocations: 2.219 kB / 0.7494 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0001517/0.005712, allocations: 105.6 kB / 0.7495 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.005741, allocations: 55.34 kB / 0.7495 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.005827, allocations: 164.7 kB / 0.7497 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.005854, allocations: 37.7 kB / 0.7497 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.005908, allocations: 100.6 kB / 0.7498 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.00593, allocations: 36.94 kB / 0.7498 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/0.006006, allocations: 69.62 kB / 0.7499 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.006084, allocations: 322.8 kB / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.006192, allocations: 150.1 kB / 0.7504 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.006313, allocations: 207 kB / 0.7506 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.006458, allocations: 231.7 kB / 0.7508 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.00646, allocations: 0 / 0.7508 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002597/0.00672, allocations: 389.8 kB / 0.7511 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.399e-05/0.006774, allocations: 102.2 kB / 0.7512 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.006778, allocations: 0 / 0.7512 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.00679, allocations: 7.938 kB / 0.7513 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.277e-05/0.006833, allocations: 21.02 kB / 0.7513 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006836, allocations: 0 / 0.7513 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.007009, allocations: 69.48 kB / 0.7513 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.007029, allocations: 11.98 kB / 0.7513 GB, free: 12.26 MB / 0.7292 GB 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 7.576e-05/0.007105, allocations: 131.2 kB / 0.7515 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.007117, allocations: 11.98 kB / 0.7515 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.007138, allocations: 13.44 kB / 0.7515 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.007142, allocations: 7.922 kB / 0.7515 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.007144, allocations: 0.6875 kB / 0.7515 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.007148, allocations: 3.984 kB / 0.7515 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.178e-05/0.00723, allocations: 99.58 kB / 0.7516 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.007232, allocations: 4 kB / 0.7516 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.007254, allocations: 11.98 kB / 0.7516 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.007265, allocations: 15.84 kB / 0.7516 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.007267, allocations: 1 kB / 0.7516 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.007273, allocations: 8 kB / 0.7516 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.007274, allocations: 0 / 0.7516 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.007275, allocations: 4.5 kB / 0.7516 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.703e-05/0.007372, allocations: 119.3 kB / 0.7518 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.007384, allocations: 11.38 kB / 0.7518 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.007399, allocations: 0 / 0.7518 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.007424, allocations: 11.98 kB / 0.7518 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.007429, allocations: 7.922 kB / 0.7518 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.272e-05/0.007452, allocations: 27.09 kB / 0.7518 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007452, allocations: 0 / 0.7518 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001459/0.007598, allocations: 51.94 kB / 0.7519 GB, free: 11.7 MB / 0.7292 GB 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.0002312/0.007829, allocations: 102.1 kB / 0.752 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.008083, allocations: 397 kB / 0.7523 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.008088, allocations: 4 kB / 0.7523 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.008123, allocations: 32.84 kB / 0.7524 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.008303, allocations: 195.8 kB / 0.7526 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.008735, allocations: 234.2 kB / 0.7528 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.236e-05/0.008767, allocations: 71.28 kB / 0.7529 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.008796, allocations: 13.59 kB / 0.7529 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.008921, allocations: 92.2 kB / 0.753 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of SimCode: time 4e-07/0.008922, allocations: 0 / 0.753 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.004195/0.01312, allocations: 3.326 MB / 0.7562 GB, free: 7.297 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.885421467013657]