Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.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.0009493/0.0009493, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.002342, 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.001053/0.001053, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002442, allocations: 479.5 kB / 11.82 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.9445/0.9445, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09358/1.038, 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 2.011/2.011, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5037/2.515, allocations: 127.1 MB / 0.7435 GB, free: 4.527 MB / 0.7136 GB " [Timeout remaining time 177] 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.7448 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.348e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00115/0.001163, allocations: 0.7492 MB / 0.7455 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.002271, allocations: 1.311 MB / 0.7468 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.466e-05/0.002306, allocations: 0 / 0.7468 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.002329, allocations: 4.438 kB / 0.7468 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.002374, allocations: 24.41 kB / 0.7468 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.002789, allocations: 297.1 kB / 0.7471 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.003007, allocations: 255.8 kB / 0.7474 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.003077, allocations: 16.16 kB / 0.7474 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.003208, allocations: 147.5 kB / 0.7475 GB, free: 472 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.00332, allocations: 79.8 kB / 0.7476 GB, free: 392 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.003353, allocations: 24 kB / 0.7476 GB, free: 368 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-05/0.003429, allocations: 35.97 kB / 0.7477 GB, free: 332 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.003451, allocations: 11.94 kB / 0.7477 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.003503, allocations: 51.94 kB / 0.7477 GB, free: 268 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.003674, allocations: 147.6 kB / 0.7479 GB, free: 120 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.003683, allocations: 6.781 kB / 0.7479 GB, free: 116 kB / 0.7136 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003684, allocations: 0 / 0.7479 GB, free: 116 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.003693, allocations: 0 / 0.7479 GB, free: 116 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004259/0.004119, allocations: 417.3 kB / 0.7483 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.004151, allocations: 12.03 kB / 0.7483 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.004195, allocations: 20.86 kB / 0.7483 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.192e-05/0.004267, allocations: 117.7 kB / 0.7484 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.004284, allocations: 11.5 kB / 0.7484 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.004309, allocations: 16.38 kB / 0.7484 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.039e-05/0.004379, allocations: 54.94 kB / 0.7485 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.004386, allocations: 4.125 kB / 0.7485 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.004393, allocations: 8.359 kB / 0.7485 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.004397, allocations: 4.125 kB / 0.7485 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.004412, allocations: 8 kB / 0.7485 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.004676, allocations: 208.2 kB / 0.7487 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.809e-05/0.004715, allocations: 24.86 kB / 0.7487 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.00473, allocations: 16.8 kB / 0.7488 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.004737, allocations: 7.984 kB / 0.7488 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.954e-05/0.004827, allocations: 84.44 kB / 0.7488 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.004828, allocations: 0 / 0.7488 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001361/0.004964, allocations: 102.3 kB / 0.7489 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.004991, allocations: 55.41 kB / 0.749 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.005059, allocations: 138.4 kB / 0.7491 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.005083, allocations: 33.7 kB / 0.7492 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.005126, allocations: 100.1 kB / 0.7493 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.005144, allocations: 25.05 kB / 0.7493 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.005209, allocations: 57.66 kB / 0.7493 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.005287, allocations: 322.8 kB / 0.7496 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.00539, allocations: 153 kB / 0.7498 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.005509, allocations: 193.8 kB / 0.75 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.005643, allocations: 212.3 kB / 0.7502 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.005646, allocations: 4 kB / 0.7502 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002622/0.005909, allocations: 389 kB / 0.7505 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.005965, allocations: 97.59 kB / 0.7506 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.005971, allocations: 4 kB / 0.7506 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.005979, allocations: 1.125 kB / 0.7506 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.674e-05/0.005996, allocations: 4 kB / 0.7506 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.006002, allocations: 11.92 kB / 0.7507 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.006188, allocations: 57.62 kB / 0.7507 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.006212, allocations: 16.77 kB / 0.7507 GB, free: 12.88 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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.191e-05/0.006283, allocations: 130.5 kB / 0.7509 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.006293, allocations: 12 kB / 0.7509 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.006313, allocations: 15.52 kB / 0.7509 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006315, allocations: 4 kB / 0.7509 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006317, allocations: 0 / 0.7509 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.00632, allocations: 0 / 0.7509 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.034e-05/0.006391, allocations: 85.86 kB / 0.751 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.006393, allocations: 4 kB / 0.751 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-06/0.0064, allocations: 7.938 kB / 0.751 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-06/0.006409, allocations: 7.953 kB / 0.751 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006411, allocations: 3.594 kB / 0.751 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.006418, allocations: 7.922 kB / 0.751 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006419, allocations: 0 / 0.751 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.006421, allocations: 4 kB / 0.751 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.264e-05/0.006504, allocations: 101.3 kB / 0.7511 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.006513, allocations: 0 / 0.7511 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.006527, allocations: 0 / 0.7511 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.006556, allocations: 15.92 kB / 0.7511 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-06/0.00656, allocations: 4 kB / 0.7511 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.052e-05/0.006581, allocations: 24.83 kB / 0.7511 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006581, allocations: 0.9375 kB / 0.7511 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001425/0.006723, allocations: 47.95 kB / 0.7512 GB, free: 12.38 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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 9.493e-05/0.006818, allocations: 89.97 kB / 0.7513 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.007057, allocations: 385.5 kB / 0.7516 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.007061, allocations: 0 / 0.7516 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.007092, allocations: 33.95 kB / 0.7517 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.007266, allocations: 191.5 kB / 0.7519 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.007666, allocations: 183.6 kB / 0.752 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.984e-05/0.007696, allocations: 67.97 kB / 0.7521 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.00772, allocations: 13.61 kB / 0.7521 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.007839, allocations: 91.33 kB / 0.7522 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.00784, allocations: 0 / 0.7522 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of Templates: time 0.004064/0.0119, allocations: 3.215 MB / 0.7553 GB, free: 8.156 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.995034037157893]