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.0006875/0.0006875, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008366/0.001524, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006874/0.0006874, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008435/0.001531, allocations: 459.6 kB / 11.71 MB, free: 2.453 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.9833/0.9833, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08722/1.07, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.958/1.958, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.516/2.474, allocations: 127.1 MB / 0.7432 GB, free: 4.621 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.695e-06/2.695e-06, allocations: 0 / 0.7445 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.862e-05, allocations: 7.469 kB / 0.7445 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001489/0.001517, allocations: 0.809 MB / 0.7453 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.002734, allocations: 1.285 MB / 0.7465 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.002795, allocations: 1.594 kB / 0.7465 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.002829, allocations: 11.86 kB / 0.7465 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.002883, allocations: 24.89 kB / 0.7466 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.003525, allocations: 232.9 kB / 0.7468 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.003885, allocations: 258.8 kB / 0.747 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.004032, allocations: 38.8 kB / 0.7471 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.004263, allocations: 164.7 kB / 0.7472 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.004421, allocations: 75.8 kB / 0.7473 GB, free: 480 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.004462, allocations: 20 kB / 0.7473 GB, free: 460 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.00457, allocations: 36.83 kB / 0.7474 GB, free: 424 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.004605, allocations: 19.94 kB / 0.7474 GB, free: 404 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.004684, allocations: 58.7 kB / 0.7474 GB, free: 348 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.004911, allocations: 143.5 kB / 0.7476 GB, free: 204 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.568e-05/0.004927, allocations: 0 / 0.7476 GB, free: 204 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004928, allocations: 0 / 0.7476 GB, free: 204 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.004946, allocations: 0 / 0.7476 GB, free: 204 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.0006947/0.005641, allocations: 431.4 kB / 0.748 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.005681, allocations: 12.03 kB / 0.748 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.005746, allocations: 28.56 kB / 0.748 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.005964, allocations: 141.6 kB / 0.7482 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.005988, allocations: 16.38 kB / 0.7482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.006023, allocations: 20.38 kB / 0.7482 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.006171, allocations: 93.17 kB / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.006181, allocations: 192 / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.006194, allocations: 8.359 kB / 0.7483 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.006206, allocations: 4.375 kB / 0.7483 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.784e-05/0.006264, allocations: 35.86 kB / 0.7483 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.006713, allocations: 267.3 kB / 0.7486 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.006861, allocations: 94.33 kB / 0.7487 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.006908, allocations: 32.84 kB / 0.7487 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.006917, allocations: 4 kB / 0.7487 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.007135, allocations: 154.5 kB / 0.7489 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.007136, allocations: 0 / 0.7489 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0002784/0.007415, allocations: 177.5 kB / 0.749 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.007463, allocations: 63.39 kB / 0.7491 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.007581, allocations: 165.3 kB / 0.7492 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.007613, allocations: 33.7 kB / 0.7493 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.007678, allocations: 109 kB / 0.7494 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.007737, allocations: 76.95 kB / 0.7494 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.007856, allocations: 93.98 kB / 0.7495 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.007955, allocations: 330.8 kB / 0.7499 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.008089, allocations: 120.2 kB / 0.75 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.008264, allocations: 198.2 kB / 0.7502 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.008486, allocations: 232.2 kB / 0.7504 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.008492, allocations: 4.688 kB / 0.7504 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004042/0.008896, allocations: 374.6 kB / 0.7507 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/0.008954, allocations: 67.39 kB / 0.7508 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.008962, allocations: 4.594 kB / 0.7508 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.008975, allocations: 3.984 kB / 0.7508 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.671e-05/0.009022, allocations: 16.44 kB / 0.7508 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.009029, allocations: 5 kB / 0.7508 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.009277, allocations: 68.89 kB / 0.7509 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.009307, allocations: 16 kB / 0.7509 GB, free: 12.5 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.0001199/0.009427, allocations: 151.5 kB / 0.7511 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.009456, allocations: 19.98 kB / 0.7511 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.009496, allocations: 30.58 kB / 0.7511 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.009502, allocations: 8 kB / 0.7511 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.009506, allocations: 0.625 kB / 0.7511 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.00951, allocations: 0 / 0.7511 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.009977, allocations: 377.7 kB / 0.7515 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.00998, allocations: 0 / 0.7515 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.01, allocations: 11.98 kB / 0.7515 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.01002, allocations: 24.47 kB / 0.7515 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.01003, allocations: 4 kB / 0.7515 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.01004, allocations: 0.5625 kB / 0.7515 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.01004, allocations: 11.69 kB / 0.7515 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01005, allocations: 0 / 0.7515 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.01024, allocations: 240.7 kB / 0.7518 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.01026, allocations: 8 kB / 0.7518 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.01033, allocations: 4 kB / 0.7518 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.01038, allocations: 31.88 kB / 0.7518 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.0104, allocations: 12 kB / 0.7518 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.926e-05/0.01043, allocations: 27.33 kB / 0.7518 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01043, allocations: 0 / 0.7518 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003235/0.01075, allocations: 63.94 kB / 0.7519 GB, free: 11.46 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.0001305/0.01088, allocations: 101.4 kB / 0.752 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.01127, allocations: 364.5 kB / 0.7523 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.01127, allocations: 0 / 0.7523 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.946e-05/0.01136, allocations: 77.5 kB / 0.7524 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.01162, allocations: 47.12 kB / 0.7525 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007073/0.01233, allocations: 299.9 kB / 0.7527 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.718e-05/0.01238, allocations: 72.95 kB / 0.7528 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.489e-05/0.01245, allocations: 23.66 kB / 0.7528 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.01261, allocations: 108 kB / 0.7529 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of SimCode: time 4.6e-07/0.01261, allocations: 0 / 0.7529 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of Templates: time 0.006413/0.01902, allocations: 3.142 MB / 0.756 GB, free: 7.34 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: 5.045028074644506]