Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.0007131/0.0007131, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009291/0.001642, 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.001578/0.001578, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001806/0.003384, 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 1.005/1.005, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08507/1.09, 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.905/1.905, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4948/2.4, allocations: 127.1 MB / 0.7435 GB, free: 4.539 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.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.7448 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.046e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001405/0.001426, allocations: 0.8234 MB / 0.7456 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.002547, allocations: 1.284 MB / 0.7469 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.002607, allocations: 0 / 0.7469 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.002641, allocations: 11.86 kB / 0.7469 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.002695, allocations: 30.58 kB / 0.7469 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.003135, allocations: 236 kB / 0.7471 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.003389, allocations: 250.3 kB / 0.7474 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.003502, allocations: 42.58 kB / 0.7474 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.003659, allocations: 161 kB / 0.7476 GB, free: 444 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.00379, allocations: 74.25 kB / 0.7476 GB, free: 372 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.003822, allocations: 20 kB / 0.7477 GB, free: 352 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.003908, allocations: 35.98 kB / 0.7477 GB, free: 316 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.003946, allocations: 23.92 kB / 0.7477 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.004, allocations: 51.94 kB / 0.7478 GB, free: 240 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.004181, allocations: 147.5 kB / 0.7479 GB, free: 92 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.004194, allocations: 0 / 0.7479 GB, free: 92 kB / 0.7136 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004195, allocations: 1.844 kB / 0.7479 GB, free: 92 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.004208, allocations: 0 / 0.7479 GB, free: 92 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005128/0.004721, allocations: 435.4 kB / 0.7483 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.004753, allocations: 12.03 kB / 0.7483 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.004807, allocations: 29.72 kB / 0.7484 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.004979, allocations: 141.6 kB / 0.7485 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.004997, allocations: 19.59 kB / 0.7485 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.005024, allocations: 20.38 kB / 0.7485 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.005132, allocations: 89.23 kB / 0.7486 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.005139, allocations: 192 / 0.7486 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.005148, allocations: 384 / 0.7486 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.005156, allocations: 4.375 kB / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.005191, allocations: 35.86 kB / 0.7487 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.005531, allocations: 264.5 kB / 0.7489 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.005642, allocations: 87.14 kB / 0.749 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.005677, allocations: 37.36 kB / 0.749 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.005684, allocations: 4 kB / 0.749 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.005838, allocations: 157.8 kB / 0.7492 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.00584, allocations: 0 / 0.7492 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0002107/0.006051, allocations: 170.4 kB / 0.7493 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.006088, allocations: 71.33 kB / 0.7494 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.006176, allocations: 162.1 kB / 0.7496 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.006202, allocations: 37.7 kB / 0.7496 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.006255, allocations: 109.6 kB / 0.7497 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.006294, allocations: 71.45 kB / 0.7498 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.006398, allocations: 94.59 kB / 0.7499 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8e-05/0.006478, allocations: 335.4 kB / 0.7502 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.006576, allocations: 124.2 kB / 0.7503 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.006708, allocations: 189.7 kB / 0.7505 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.006946, allocations: 244.3 kB / 0.7507 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.006951, allocations: 3.938 kB / 0.7507 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002859/0.007237, allocations: 370.7 kB / 0.7511 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.007288, allocations: 63.39 kB / 0.7511 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.007294, allocations: 1.375 kB / 0.7511 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.007306, allocations: 4 kB / 0.7511 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.44e-05/0.007341, allocations: 23.92 kB / 0.7512 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.007346, allocations: 9.094 kB / 0.7512 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.007517, allocations: 60.25 kB / 0.7512 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.007539, allocations: 20.73 kB / 0.7513 GB, free: 12.4 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: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,falCleFalIni.clr,falCleTruIni.clr,truCleFalIni.clr,truCleTruIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,fal.y,tru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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.0002264/0.007765, allocations: 147.7 kB / 0.7514 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.007787, allocations: 23.97 kB / 0.7514 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.007824, allocations: 21.91 kB / 0.7514 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007827, allocations: 6.75 kB / 0.7514 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.007829, allocations: 0 / 0.7514 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.007834, allocations: 3.984 kB / 0.7514 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.00816, allocations: 380.4 kB / 0.7518 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.008161, allocations: 0 / 0.7518 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.00818, allocations: 15.94 kB / 0.7518 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.008193, allocations: 22.92 kB / 0.7518 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.008197, allocations: 4 kB / 0.7519 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.008206, allocations: 7.984 kB / 0.7519 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.008209, allocations: 3.938 kB / 0.7519 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.00821, allocations: 4 kB / 0.7519 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.008346, allocations: 240.6 kB / 0.7521 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.00836, allocations: 8 kB / 0.7521 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.008402, allocations: 7.984 kB / 0.7521 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.008436, allocations: 25.5 kB / 0.7521 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.008453, allocations: 11.98 kB / 0.7521 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.396e-05/0.008477, allocations: 30.08 kB / 0.7522 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.008477, allocations: 0 / 0.7522 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001712/0.008648, allocations: 60.77 kB / 0.7522 GB, free: 11.36 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: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 24 * 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.0001304/0.008779, allocations: 99.59 kB / 0.7523 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.009038, allocations: 362.2 kB / 0.7527 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.009045, allocations: 8 kB / 0.7527 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.11e-05/0.009106, allocations: 88.92 kB / 0.7528 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.009309, allocations: 152.7 kB / 0.7529 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.009818, allocations: 301.3 kB / 0.7532 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.02e-05/0.009858, allocations: 72.95 kB / 0.7533 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.009902, allocations: 27.19 kB / 0.7533 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.01001, allocations: 103.8 kB / 0.7534 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.01001, allocations: 0.7812 kB / 0.7534 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.00434/0.01435, allocations: 3.067 MB / 0.7564 GB, free: 7.164 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.971081187017262]